November Happy Hour will be moved to Thursday December 5th.

Class CatalogContentFactory

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Extends the default EPiServer.Construction.IContentFactory to do processing specific to CatalogContentBase instances.

Inheritance
System.Object
CatalogContentFactory
Implements
EPiServer.Construction.IContentFactory
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.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public class CatalogContentFactory : IContentFactory

Constructors

CatalogContentFactory(IContentFactory, CatalogLanguageLoader)

Initializes a new instance of the CatalogContentFactory class.

Declaration
public CatalogContentFactory(IContentFactory defaultImplementation, CatalogLanguageLoader languageLoader)
Parameters
Type Name Description
EPiServer.Construction.IContentFactory defaultImplementation

The default implementation.

CatalogLanguageLoader languageLoader

The language loader.

Methods

CreateContent(ContentType, BuildingContext)

Creates the content, using default implementation but verifying the language setup according to the catalog.

Declaration
public virtual IContent CreateContent(ContentType contentType, BuildingContext buildingContext)
Parameters
Type Name Description
EPiServer.DataAbstraction.ContentType contentType

Type of the content.

EPiServer.Construction.BuildingContext buildingContext

The building context.

Returns
Type Description
EPiServer.Core.IContent

Implements

EPiServer.Construction.IContentFactory