Search Results for

    Show / Hide Table of Contents
    View Source

    Class InternalPublishedContentCache

    Inheritance
    System.Object
    PublishedCacheBase
    Namespace: Umbraco.Cms.Core.PublishedCache.Internal
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class InternalPublishedContentCache : PublishedCacheBase, IPublishedContentCache, IPublishedMediaCache, IPublishedCache

    Constructors

    View Source

    InternalPublishedContentCache()

    Declaration
    public InternalPublishedContentCache()

    Methods

    View Source

    Clear()

    Declaration
    public void Clear()
    View Source

    GetAtRoot(Boolean, String)

    Declaration
    public override IEnumerable<IPublishedContent> GetAtRoot(bool preview, string culture = null)
    Parameters
    Type Name Description
    System.Boolean preview
    System.String culture
    Returns
    Type Description
    IEnumerable<IPublishedContent>
    View Source

    GetByContentType(IPublishedContentType)

    Declaration
    public override IEnumerable<IPublishedContent> GetByContentType(IPublishedContentType contentType)
    Parameters
    Type Name Description
    IPublishedContentType contentType
    Returns
    Type Description
    IEnumerable<IPublishedContent>
    View Source

    GetById(Boolean, Guid)

    Declaration
    public override IPublishedContent GetById(bool preview, Guid contentId)
    Parameters
    Type Name Description
    System.Boolean preview
    Guid contentId
    Returns
    Type Description
    IPublishedContent
    View Source

    GetById(Boolean, Int32)

    Declaration
    public override IPublishedContent GetById(bool preview, int contentId)
    Parameters
    Type Name Description
    System.Boolean preview
    System.Int32 contentId
    Returns
    Type Description
    IPublishedContent
    View Source

    GetById(Boolean, Udi)

    Declaration
    public override IPublishedContent GetById(bool preview, Udi nodeId)
    Parameters
    Type Name Description
    System.Boolean preview
    Udi nodeId
    Returns
    Type Description
    IPublishedContent
    View Source

    GetByRoute(Boolean, String, Nullable<Boolean>, String)

    Declaration
    public IPublishedContent GetByRoute(bool preview, string route, bool? hideTopLevelNode = null, string culture = null)
    Parameters
    Type Name Description
    System.Boolean preview
    System.String route
    System.Nullable<System.Boolean> hideTopLevelNode
    System.String culture
    Returns
    Type Description
    IPublishedContent
    View Source

    GetByRoute(String, Nullable<Boolean>, String)

    Declaration
    public IPublishedContent GetByRoute(string route, bool? hideTopLevelNode = null, string culture = null)
    Parameters
    Type Name Description
    System.String route
    System.Nullable<System.Boolean> hideTopLevelNode
    System.String culture
    Returns
    Type Description
    IPublishedContent
    View Source

    GetContentType(Guid)

    Declaration
    public override IPublishedContentType GetContentType(Guid key)
    Parameters
    Type Name Description
    Guid key
    Returns
    Type Description
    IPublishedContentType
    View Source

    GetContentType(Int32)

    Declaration
    public override IPublishedContentType GetContentType(int id)
    Parameters
    Type Name Description
    System.Int32 id
    Returns
    Type Description
    IPublishedContentType
    View Source

    GetContentType(String)

    Declaration
    public override IPublishedContentType GetContentType(string alias)
    Parameters
    Type Name Description
    System.String alias
    Returns
    Type Description
    IPublishedContentType
    View Source

    GetRouteById(Boolean, Int32, String)

    Declaration
    public string GetRouteById(bool preview, int contentId, string culture = null)
    Parameters
    Type Name Description
    System.Boolean preview
    System.Int32 contentId
    System.String culture
    Returns
    Type Description
    System.String
    View Source

    GetRouteById(Int32, String)

    Declaration
    public string GetRouteById(int contentId, string culture = null)
    Parameters
    Type Name Description
    System.Int32 contentId
    System.String culture
    Returns
    Type Description
    System.String
    View Source

    HasById(Boolean, Int32)

    Declaration
    public override bool HasById(bool preview, int contentId)
    Parameters
    Type Name Description
    System.Boolean preview
    System.Int32 contentId
    Returns
    Type Description
    System.Boolean
    View Source

    HasContent(Boolean)

    Declaration
    public override bool HasContent(bool preview)
    Parameters
    Type Name Description
    System.Boolean preview
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • InternalPublishedContentCache()
    • Methods
      • Clear()
      • GetAtRoot(Boolean, String)
      • GetByContentType(IPublishedContentType)
      • GetById(Boolean, Guid)
      • GetById(Boolean, Int32)
      • GetById(Boolean, Udi)
      • GetByRoute(Boolean, String, Nullable<Boolean>, String)
      • GetByRoute(String, Nullable<Boolean>, String)
      • GetContentType(Guid)
      • GetContentType(Int32)
      • GetContentType(String)
      • GetRouteById(Boolean, Int32, String)
      • GetRouteById(Int32, String)
      • HasById(Boolean, Int32)
      • HasContent(Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX