Show / Hide Table of Contents

Class PropertyBlockExtensions

Extension methods for working with block properties, commonly used when setting up Content Delivery API serialization.

Inheritance
object
PropertyBlockExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: AdaptiveImages.Core
Assembly: AdaptiveImages.dll
Syntax
public static class PropertyBlockExtensions

Methods

GetImageConstraints(PropertyBlock<AdaptiveImage>)

Gets all image constraints for the image property.

Declaration
public static ImageConstraints GetImageConstraints(this PropertyBlock<AdaptiveImage> adaptiveImageProperty)
Parameters
Type Name Description
PropertyBlock<AdaptiveImage> adaptiveImageProperty
Returns
Type Description
ImageConstraints

GetImageConstraints(PropertyBlock<SingleImage>)

Gets all image constraints for the image property.

Declaration
public static ImageConstraints GetImageConstraints(this PropertyBlock<SingleImage> singleImageProperty)
Parameters
Type Name Description
PropertyBlock<SingleImage> singleImageProperty
Returns
Type Description
ImageConstraints
☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾