View Source
Class ContentData
Represents everything that is specific to an edited or published content version
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public class ContentData : object
Constructors
View Source
ContentData()
Declaration
View Source
ContentData(String, String, Int32, DateTime, Int32, Nullable<Int32>, Boolean, IDictionary<String, PropertyData[]>, IReadOnlyDictionary<String, CultureVariation>)
Declaration
public ContentData(string name, string urlSegment, int versionId, DateTime versionDate, int writerId, int? templateId, bool published, IDictionary<string, PropertyData[]> properties, IReadOnlyDictionary<string, CultureVariation> cultureInfos)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
urlSegment |
|
System.Int32 |
versionId |
|
DateTime |
versionDate |
|
System.Int32 |
writerId |
|
System.Nullable<System.Int32> |
templateId |
|
System.Boolean |
published |
|
IDictionary<System.String, PropertyData[]> |
properties |
|
IReadOnlyDictionary<System.String, CultureVariation> |
cultureInfos |
|
Properties
View Source
CultureInfos
The collection of language Id to name for the content item
Declaration
public IReadOnlyDictionary<string, CultureVariation> CultureInfos { get; set; }
Property Value
View Source
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Properties
Declaration
public IDictionary<string, PropertyData[]> Properties { get; set; }
Property Value
View Source
Published
Declaration
public bool Published { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
TemplateId
Declaration
public int? TemplateId { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
UrlSegment
Declaration
public string UrlSegment { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
VersionDate
Declaration
public DateTime VersionDate { get; set; }
Property Value
Type |
Description |
DateTime |
|
View Source
VersionId
Declaration
public int VersionId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
WriterId
Declaration
public int WriterId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|