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
Constructors
View Source
ContentData(String, String, Int32, DateTime, Int32, Nullable<Int32>, Boolean, Nullable<IDictionary<String, PropertyData[]>>, Nullable<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 |
|
System.Nullable<IDictionary<System.String, PropertyData[]>> |
properties |
|
System.Nullable<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; }
Property Value
Type |
Description |
System.Nullable<IReadOnlyDictionary<System.String, CultureVariation>> |
|
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Properties
Declaration
public IDictionary<string, PropertyData[]> Properties { get; }
Property Value
View Source
Published
Declaration
public bool Published { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
TemplateId
Declaration
public int? TemplateId { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
UrlSegment
Declaration
public string UrlSegment { get; }
Property Value
Type |
Description |
System.String |
|
View Source
VersionDate
Declaration
public DateTime VersionDate { get; }
Property Value
Type |
Description |
DateTime |
|
View Source
VersionId
Declaration
public int VersionId { get; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
WriterId
Declaration
public int WriterId { get; }
Property Value
Type |
Description |
System.Int32 |
|