Show / Hide Table of Contents

Class ImageProviderOption

Represents an image provider option

Inheritance
object
ImageProviderOption
Implements
IImageProviderOption
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public class ImageProviderOption : IImageProviderOption

Properties

Capabilities

Features supported for this specific image provider option.

Declaration
public ImageProviderOptionCapability Capabilities { get; set; }
Property Value
Type Description
ImageProviderOptionCapability

Children

Child options.

Declaration
public IList<IImageProviderOption> Children { get; set; }
Property Value
Type Description
IList<IImageProviderOption>
Remarks

Can be used for chained options, or for "subfolders" or equivalent.

DisplayName

Name to display in the user interface.

Declaration
public string? DisplayName { get; set; }
Property Value
Type Description
string

Id

Internal ID of the option.

Declaration
public string? Id { get; set; }
Property Value
Type Description
string

SearchResultPageSize

Search result page size, if paging should be used for search results.

Declaration
public int? SearchResultPageSize { get; set; }
Property Value
Type Description
int?
Remarks

If not set, max search result size will be determined by MaxSearchResultSize.

Implements

IImageProviderOption

Extension Methods

ImageExtensions.GetCultureSpecificImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetImageConstraints<TParent>(TParent, string)
ImageExtensions.GetImageConstraints<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetRequiredImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetSizeConstraint<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾