SaaS CMS has officially launched! Learn more now.

Class CatalogContentFactory

Extends EPiServer.Construction.Internal.ContentFactory to do processing specific to CatalogContentBase instances.

Inheritance
System.Object
CatalogContentFactory
Namespace: EPiServer.Commerce.Catalog.Provider.Construction
Assembly: EPiServer.Business.Commerce.dll
Version: 11.8.3
Syntax
[Obsolete("This class is no longer used. The replacement implementation is internal. Will remain at least until October 2017.")]
public class CatalogContentFactory : ContentFactory

Constructors

CatalogContentFactory(ISharedBlockFactory, IContentDataFactory<IContent>, IContentDataFactory<PageData>, IContentDataBuilder, IPropertyDataFactory, CatalogLanguageLoader)

Initializes a new instance of the CatalogContentFactory class.

Declaration
public CatalogContentFactory(ISharedBlockFactory sharedblockFactory, IContentDataFactory<IContent> contentFactory, IContentDataFactory<PageData> pageDataFactory, IContentDataBuilder contentDataBuilder, IPropertyDataFactory propertyDataFactory, CatalogLanguageLoader languageLoader)
Parameters
Type Name Description
EPiServer.Construction.ISharedBlockFactory sharedblockFactory

The sharedblock factory.

EPiServer.Construction.IContentDataFactory<EPiServer.Core.IContent> contentFactory

The content factory.

EPiServer.Construction.IContentDataFactory<EPiServer.Core.PageData> pageDataFactory

The page data factory.

EPiServer.Construction.IContentDataBuilder contentDataBuilder

The content data builder.

EPiServer.Construction.IPropertyDataFactory propertyDataFactory

The property data factory.

CatalogLanguageLoader languageLoader

The language loader.

Methods

CreateContent(ContentType, BuildingContext)

Creates the content, using base implementation but verifying the languge setup according to the catalog.

Declaration
public override 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