Search Results for

    Show / Hide Table of Contents
    View Source

    Struct ContentNodeKit

    Namespace: Umbraco.Cms.Infrastructure.PublishedCache
    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
    Type Name Description
    ContentNode node
    System.Int32 contentTypeId
    ContentData draftData
    ContentData publishedData

    Fields

    View Source

    ContentTypeId

    Declaration
    public int ContentTypeId
    Field Value
    Type Description
    System.Int32
    View Source

    DraftData

    Declaration
    public ContentData DraftData
    Field Value
    Type Description
    ContentData
    View Source

    Node

    Declaration
    public ContentNode Node
    Field Value
    Type Description
    ContentNode
    View Source

    PublishedData

    Declaration
    public ContentData PublishedData
    Field Value
    Type Description
    ContentData

    Properties

    View Source

    Empty

    Declaration
    public static readonly ContentNodeKit Empty { get; }
    Property Value
    Type Description
    ContentNodeKit
    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

    Null

    Declaration
    public static readonly ContentNodeKit Null { get; }
    Property Value
    Type Description
    ContentNodeKit

    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
    Type Description
    ContentNodeKit
    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
    Type Description
    ContentNodeKit
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentNodeKit(ContentNode, Int32, ContentData, ContentData)
    • Fields
      • ContentTypeId
      • DraftData
      • Node
      • PublishedData
    • Properties
      • Empty
      • IsEmpty
      • IsNull
      • Null
    • Methods
      • Build(IPublishedContentType, IPublishedSnapshotAccessor, IVariationContextAccessor, IPublishedModelFactory, Boolean)
      • Clone(IPublishedModelFactory)
      • Clone(IPublishedModelFactory, ContentData, ContentData)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX