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

Class RawContentInfo

Holds a Rawcontent including language, security information about the page.

Inheritance
System.Object
RawContentInfo
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class RawContentInfo : Object

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
RawContent rawContent
System.String masterLanguage
System.Collections.Generic.IList<System.String> languages
ISecurityDescriptor securityDescriptor

Properties

ContentGuid

Gets the guid based identifier for the RawContent

Declaration
public Guid ContentGuid { get; set; }
Property Value
Type Description
System.Guid

The cotent GUID.

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; set; }
Property Value
Type Description
System.String

The name of the content type.

LanguageBranch

Gets the current language branch

Declaration
public string LanguageBranch { get; set; }
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; set; }
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

Extension Methods