Show / Hide Table of Contents

Class ContentExtensions

Inheritance
object
ContentExtensions
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 ContentExtensions

Methods

GetAdaptiveImageProperties(ContentData)

Retrieves all AdaptiveImage properties on a content instance.

Declaration
public static IEnumerable<PropertyData> GetAdaptiveImageProperties(this ContentData contentData)
Parameters
Type Name Description
ContentData contentData
Returns
Type Description
IEnumerable<PropertyData>

GetAdaptiveImageProperties(IContent)

Retrieves all AdaptiveImage properties on a content instance.

Declaration
public static IEnumerable<PropertyBlock<AdaptiveImage>> GetAdaptiveImageProperties(this IContent content)
Parameters
Type Name Description
IContent content
Returns
Type Description
IEnumerable<PropertyBlock<AdaptiveImage>>

GetSingleImageProperties(ContentData)

Retrieves all SingleImage properties on a content instance.

Declaration
public static IEnumerable<PropertyData> GetSingleImageProperties(this ContentData contentData)
Parameters
Type Name Description
ContentData contentData
Returns
Type Description
IEnumerable<PropertyData>

GetSingleImageProperties(IContent)

Retrieves all SingleImage properties on a content instance.

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