Class RawContentInfo
Holds a Rawcontent including language, security information about the page.
Inheritance
Inherited Members
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 9.12.2Syntax
public class RawContentInfo
Constructors
RawContentInfo(ContentReference, RawContent, String, IList<String>, ISecurityDescriptor)
Initializes a new instance of the RawContentInfo class.
Declaration
public RawContentInfo(ContentReference contentLink, RawContent rawContent, string masterLanguage, IList<string> languages, ISecurityDescriptor securityDescriptor)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
RawContent | rawContent | Content of the raw. |
System.String | masterLanguage | The master language. |
System.Collections.Generic.IList<System.String> | languages | The languages. |
ISecurityDescriptor | securityDescriptor | The security descriptor. |
Properties
ContentGuid
Gets the guid based identifier for the RawContent
Declaration
public Guid ContentGuid { get; }
Property Value
Type | Description |
---|---|
System.Guid | The cotent GUID. |
ContentLink
Gets the content link for the RawContent
Declaration
public ContentReference ContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference | The content link. |
ContentTypeName
Gets the name of the content type.
Declaration
public string ContentTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the content type. |
LanguageBranch
Gets the current language branch
Declaration
public string LanguageBranch { get; }
Property Value
Type | Description |
---|---|
System.String | The language branch |
Languages
Gets a list of all languages the content exist on.
Declaration
public IList<string> Languages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> | The langauges. |
MasterLanguage
Gets the master language for the content.
Declaration
public string MasterLanguage { get; }
Property Value
Type | Description |
---|---|
System.String | The master language. |
Name
Gets the name of the content instance.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the content instance. |
RawContent
Gets the Rawcontent instance
Declaration
public RawContent RawContent { get; }
Property Value
Type | Description |
---|---|
RawContent | The raw page. |
SecurityDescriptor
Gets the security descriptor corresponding to the content or null if content is not securable
Declaration
public ISecurityDescriptor SecurityDescriptor { get; }
Property Value
Type | Description |
---|---|
ISecurityDescriptor | The descriptor |