Class ImportedContentData
Holds RawContents and organize them by language and help function to read properties from master content properties and stc.
Inheritance
System.Object
ImportedContentData
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ImportedContentData : Object
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
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
GetContentGuid()
Declaration
public string GetContentGuid()
Returns
Type |
Description |
System.String |
|
GetContentLink(CultureInfo)
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 |
|
GetParentLink()
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