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

Class RootContent

Class to store information about the root of CatalogContentBase

Inheritance
System.Object
RootContent
Implements
EPiServer.Data.Entity.IReadOnly<CatalogContentBase>
EPiServer.Data.Entity.IReadOnly
EPiServer.Core.IContent
EPiServer.Core.IContentData
EPiServer.Core.ILocalizable
EPiServer.Core.ILocale
EPiServer.Core.IVersionable
EPiServer.Web.Routing.IRoutable
EPiServer.Security.IContentSecurable
EPiServer.Security.ISecurable
Namespace: EPiServer.Commerce.Catalog.ContentTypes
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
[CatalogContentType(GUID = "c57885b5-c74c-4467-9ebf-4e56764dcb75", DisplayName = "Catalog Root", AvailableInEditMode = false)]
[CLSCompliant(false)]
public class RootContent : NodeContentBase, IReadOnly<CatalogContentBase>, IReadOnly, IContent, IContentData, ILocalizable, ILocale, IVersionable, IRoutable, IContentSecurable, ISecurable

Constructors

RootContent()

Declaration
public RootContent()

Properties

ContentType

Gets the type of the content.

Declaration
public override CatalogContentType ContentType { get; }
Property Value
Type Description
CatalogContentType

The type of the content.

Overrides

ExistingLanguages

RootContent will have Master language as ExistingLanguages.

Declaration
public override IEnumerable<CultureInfo> ExistingLanguages { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>
Overrides

Language

For all instance, RootContent will always has Master language as the only one Language

Declaration
public override CultureInfo Language { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo
Overrides

MasterLanguage

RootContent will have a MasterLanguage as the site has.

Declaration
public override CultureInfo MasterLanguage { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo
Overrides

Name

Overwrite name with translation for catalog root.

Declaration
public override string Name { get; set; }
Property Value
Type Description
System.String
Overrides

Implements

EPiServer.Data.Entity.IReadOnly<>
EPiServer.Data.Entity.IReadOnly
EPiServer.Core.IContent
EPiServer.Core.IContentData
EPiServer.Core.ILocalizable
EPiServer.Core.ILocale
EPiServer.Core.IVersionable
EPiServer.Web.Routing.IRoutable
EPiServer.Security.IContentSecurable
EPiServer.Security.ISecurable