Try our conversational search powered by Generative AI!

Class ImportedContentData

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Holds RawContents and organize them by language and help function to read properties from master content properties and stc.

Inheritance
System.Object
ImportedContentData
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.Core.Transfer.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ImportedContentData

Constructors

ImportedContentData(RawContent, IEnumerable<RawContent>, CultureInfo)

Declaration
public ImportedContentData(RawContent masterContent, IEnumerable<RawContent> contentLanguages, CultureInfo selectedLanguage)
Parameters
Type Name Description
RawContent masterContent
System.Collections.Generic.IEnumerable<RawContent> contentLanguages
System.Globalization.CultureInfo selectedLanguage

Properties

LanguageBranches

Declaration
public IEnumerable<CultureInfo> LanguageBranches { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>

MasterContent

Declaration
public RawContent MasterContent { get; }
Property Value
Type Description
RawContent

MasterLanguage

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

SelectedLanguage

Declaration
public CultureInfo SelectedLanguage { get; }
Property Value
Type Description
System.Globalization.CultureInfo

Methods

ExistContentForSelectedLanguage()

Declaration
public bool ExistContentForSelectedLanguage()
Returns
Type Description
System.Boolean

GetContent(CultureInfo)

Declaration
public RawContent GetContent(CultureInfo lang)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
RawContent

GetContentGuid()

Declaration
public string GetContentGuid()
Returns
Type Description
System.String
Declaration
public string GetContentLink(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

GetContentName(CultureInfo)

Declaration
public string GetContentName(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

GetContentSaved(CultureInfo)

Declaration
public string GetContentSaved(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

GetContentType()

Declaration
public string GetContentType()
Returns
Type Description
System.String

GetContentTypeID()

Declaration
public string GetContentTypeID()
Returns
Type Description
System.String

GetContentURLSegment(CultureInfo)

Declaration
public string GetContentURLSegment(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

GetLanguageBranch(CultureInfo)

Declaration
public string GetLanguageBranch(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

GetPagePendingPublish(CultureInfo)

Declaration
public string GetPagePendingPublish(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String
Declaration
public string GetParentLink()
Returns
Type Description
System.String

GetStatus(CultureInfo)

Declaration
public string GetStatus(CultureInfo lang = null)
Parameters
Type Name Description
System.Globalization.CultureInfo lang
Returns
Type Description
System.String

Localizable()

Declaration
public bool Localizable()
Returns
Type Description
System.Boolean

Extension Methods