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()
Assembly: EPiServer.dll
Version: 10.10.4
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
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 |
|
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 |
|
GetProperties(CultureInfo)
Declaration
public IDictionary<string, string> GetProperties(CultureInfo lang = null)
Parameters
| Type |
Name |
Description |
| System.Globalization.CultureInfo |
lang |
|
Returns
| Type |
Description |
| System.Collections.Generic.IDictionary<System.String, 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