View Source
Struct ContentNodeKit
Assembly: Umbraco.PublishedCache.NuCache.dll
Syntax
public struct ContentNodeKit
Constructors
View Source
ContentNodeKit(ContentNode, Int32, ContentData, ContentData)
Declaration
public ContentNodeKit(ContentNode node, int contentTypeId, ContentData draftData, ContentData publishedData)
Parameters
Properties
View Source
ContentTypeId
Declaration
public readonly int ContentTypeId { get; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
DraftData
Declaration
public readonly ContentData DraftData { get; }
Property Value
View Source
Empty
Declaration
public static readonly ContentNodeKit Empty { get; }
Property Value
View Source
IsEmpty
Declaration
public readonly bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsNull
Declaration
public readonly bool IsNull { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
Node
Declaration
public readonly ContentNode Node { get; }
Property Value
View Source
Null
Declaration
public static readonly ContentNodeKit Null { get; }
Property Value
View Source
PublishedData
Declaration
public readonly ContentData PublishedData { get; }
Property Value
Methods
View Source
Build(IPublishedContentType, IPublishedSnapshotAccessor, IVariationContextAccessor, IPublishedModelFactory, Boolean)
Declaration
public void Build(IPublishedContentType contentType, IPublishedSnapshotAccessor publishedSnapshotAccessor, IVariationContextAccessor variationContextAccessor, IPublishedModelFactory publishedModelFactory, bool canBePublished)
Parameters
Type |
Name |
Description |
IPublishedContentType |
contentType |
|
IPublishedSnapshotAccessor |
publishedSnapshotAccessor |
|
IVariationContextAccessor |
variationContextAccessor |
|
IPublishedModelFactory |
publishedModelFactory |
|
System.Boolean |
canBePublished |
|
View Source
Clone(IPublishedModelFactory)
Declaration
public ContentNodeKit Clone(IPublishedModelFactory publishedModelFactory)
Parameters
Type |
Name |
Description |
IPublishedModelFactory |
publishedModelFactory |
|
Returns
View Source
Clone(IPublishedModelFactory, ContentData, ContentData)
Declaration
public ContentNodeKit Clone(IPublishedModelFactory publishedModelFactory, ContentData draftData, ContentData publishedData)
Parameters
Type |
Name |
Description |
IPublishedModelFactory |
publishedModelFactory |
|
ContentData |
draftData |
|
ContentData |
publishedData |
|
Returns