Class CatalogLanguageLoader
Inheritance
System.Object
CatalogLanguageLoader
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.Catalog.Provider.Construction
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class CatalogLanguageLoader
Constructors
CatalogLanguageLoader(ICatalogSystem)
Initializes a new instance of the CatalogLanguageLoader class.
Declaration
public CatalogLanguageLoader(ICatalogSystem catalogContext)
Parameters
Type | Name | Description |
---|---|---|
ICatalogSystem | catalogContext | The catalog context. |
Methods
VerifyLanguageSetup(CatalogContentBase, String, Int32)
Verifies the language setup so that the language of the content is one of the available languages of the catalog, and also that the master language and available languages are set.
Declaration
public virtual void VerifyLanguageSetup(CatalogContentBase content, string language, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
CatalogContentBase | content | The content. |
System.String | language | The preferred language, or null for master language. |
System.Int32 | catalogId | The catalog id. |