London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class EntryAssetsHelper

Inheritance
System.Object
EntryAssetsHelper
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: Mediachase.Commerce.Assets.Import
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public static class EntryAssetsHelper

Methods

AssociateAssetsWithCatalogNode(CatalogNodeDto, IEnumerable<AssetMapping>)

Associates the assets with catalog node.

Declaration
public static void AssociateAssetsWithCatalogNode(CatalogNodeDto catalogNodeDto, IEnumerable<AssetMapping> assets)
Parameters
Type Name Description
CatalogNodeDto catalogNodeDto

The catalog node dto.

System.Collections.Generic.IEnumerable<AssetMapping> assets

The assets.

AssociateAssetsWithEntries(CatalogEntryDto, Dictionary<String, List<AssetMapping>>)

Associates the assets with entries from a dictionary of EntryCode-List AssetMapping

Declaration
public static void AssociateAssetsWithEntries(CatalogEntryDto entryDto, Dictionary<string, List<AssetMapping>> mappings)
Parameters
Type Name Description
CatalogEntryDto entryDto

Container CatalogEntryDto which can contain multiple sub catalog entries

System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<AssetMapping>> mappings

Dictionary of EntryCode-List AssetMapping

GetAssetType(String)

Gets the type of the asset.

Declaration
public static string GetAssetType(string assetName)
Parameters
Type Name Description
System.String assetName

Name of the asset.

Returns
Type Description
System.String