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: 10.8.0Syntax
[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. |
CatalogContentFactory(ISharedBlockFactory, IContentDataFactory<IContent>, IContentDataFactory<PageData>, IPageDataBuilder, IContentDataBuilder, IPropertyDataFactory, CatalogLanguageLoader)
Declaration
[Obsolete("Use constructor without IPageDataBuilder. Will remain at least until April 2017.")]
public CatalogContentFactory(ISharedBlockFactory sharedblockFactory, IContentDataFactory<IContent> contentFactory, IContentDataFactory<PageData> pageDataFactory, IPageDataBuilder pageDataBuilder, IContentDataBuilder contentDataBuilder, IPropertyDataFactory propertyDataFactory, CatalogLanguageLoader languageLoader)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Construction.ISharedBlockFactory | sharedblockFactory | |
EPiServer.Construction.IContentDataFactory<EPiServer.Core.IContent> | contentFactory | |
EPiServer.Construction.IContentDataFactory<EPiServer.Core.PageData> | pageDataFactory | |
EPiServer.Construction.IPageDataBuilder | pageDataBuilder | |
EPiServer.Construction.IContentDataBuilder | contentDataBuilder | |
EPiServer.Construction.IPropertyDataFactory | propertyDataFactory | |
CatalogLanguageLoader | languageLoader |
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 |