Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentStore.Snapshot

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.PublishedCache
    Assembly: Umbraco.PublishedCache.NuCache.dll
    Syntax
    public class Snapshot : IDisposable

    Properties

    View Source

    Gen

    Declaration
    public long Gen { get; }
    Property Value
    Type Description
    System.Int64
    View Source

    IsEmpty

    Declaration
    public bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    View Source

    Dispose()

    Declaration
    public void Dispose()
    View Source

    Get(Guid)

    Declaration
    public ContentNode Get(Guid id)
    Parameters
    Type Name Description
    Guid id
    Returns
    Type Description
    ContentNode
    View Source

    Get(Int32)

    Declaration
    public ContentNode Get(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    ContentNode
    View Source

    GetAll()

    Declaration
    public IEnumerable<ContentNode> GetAll()
    Returns
    Type Description
    IEnumerable<ContentNode>
    View Source

    GetAtRoot()

    Declaration
    public IEnumerable<ContentNode> GetAtRoot()
    Returns
    Type Description
    IEnumerable<ContentNode>
    View Source

    GetContentType(Guid)

    Declaration
    public IPublishedContentType? GetContentType(Guid key)
    Parameters
    Type Name Description
    Guid key
    Returns
    Type Description
    System.Nullable<IPublishedContentType>
    View Source

    GetContentType(Int32)

    Declaration
    public IPublishedContentType? GetContentType(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    System.Nullable<IPublishedContentType>
    View Source

    GetContentType(String)

    Declaration
    public IPublishedContentType? GetContentType(string alias)
    Parameters
    Type Name Description
    System.String alias
    Returns
    Type Description
    System.Nullable<IPublishedContentType>
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • Gen
      • IsEmpty
    • Methods
      • Dispose()
      • Get(Guid)
      • Get(Int32)
      • GetAll()
      • GetAtRoot()
      • GetContentType(Guid)
      • GetContentType(Int32)
      • GetContentType(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX