Show / Hide Table of Contents

Class ContentStore.Dto

Represents payload for a SingleImage instance.

Inheritance
object
ContentStore.Dto
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: AdaptiveImages.Controllers
Assembly: AdaptiveImages.dll
Syntax
public class ContentStore.Dto

Properties

filename

Gets or sets a filename to include in the image URL, for example to improve on-site SEO.

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

height

Gets or sets the width of the original image.

Declaration
public int height { get; set; }
Property Value
Type Description
int

imageId

Gets or sets the identifier of the original image asset.

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

name

Gets or sets the name of this EPiServer.Core.IContentData instance.

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

ownerContentId

Gets or sets a link to the parent content item in the EPiServer system.

Declaration
public int ownerContentId { get; set; }
Property Value
Type Description
int

provider

Gets or sets the name of the source image provider.

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

Defaults to DefaultProviderName if not set.

width

Gets or sets the width of the original image.

Declaration
public int width { get; set; }
Property Value
Type Description
int

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
☀
☾