Class CommerceMedia
Inheritance
System.Object
CommerceMedia
Implements
System.ICloneable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class CommerceMedia : ICloneable
Constructors
CommerceMedia()
Declaration
public CommerceMedia()
CommerceMedia(ContentReference, String, String, Int32)
Declaration
public CommerceMedia(ContentReference assetLink, string assetType, string groupName, int sortOrder)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Core.ContentReference | assetLink | |
System.String | assetType | |
System.String | groupName | |
System.Int32 | sortOrder |
Properties
AssetLink
Gets or sets the string representation of the asset link.
Declaration
public ContentReference AssetLink { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.Core.ContentReference | The asset link. |
AssetType
Gets or sets the string representation of the asset type.
Declaration
public string AssetType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The asset type. |
GroupName
Gets or sets the asset group that this asset belongs to.
Declaration
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The asset group. |
PermanentLinkMapper
Gets or sets the permanent link mapper.
Declaration
public Injected<IPermanentLinkMapper> PermanentLinkMapper { get; set; }
Property Value
Type | Description |
---|---|
EPiServer.ServiceLocation.Injected<EPiServer.Web.IPermanentLinkMapper> |
SortOrder
Gets or sets the asset sortorder
Declaration
public int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The asset sortorder |
Methods
Clone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
ToItemAssetRow(CatalogEntryDto)
Declaration
public CatalogEntryDto.CatalogItemAssetRow ToItemAssetRow(CatalogEntryDto entryDto)
Parameters
Type | Name | Description |
---|---|---|
CatalogEntryDto | entryDto |
Returns
Type | Description |
---|---|
CatalogEntryDto.CatalogItemAssetRow |
ToItemAssetRow(CatalogNodeDto)
Declaration
public CatalogNodeDto.CatalogItemAssetRow ToItemAssetRow(CatalogNodeDto nodeDto)
Parameters
Type | Name | Description |
---|---|---|
CatalogNodeDto | nodeDto |
Returns
Type | Description |
---|---|
CatalogNodeDto.CatalogItemAssetRow |
Implements
System.ICloneable