Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPublishedMemberCache

    Namespace: Umbraco.Cms.Core.PublishedCache
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IPublishedMemberCache

    Methods

    View Source

    Get(IMember)

    Get an IPublishedContent from an IMember

    Declaration
    IPublishedContent Get(IMember member)
    Parameters
    Type Name Description
    IMember member
    Returns
    Type Description
    IPublishedContent
    View Source

    GetContentType(Int32)

    Gets a content type identified by its unique identifier.

    Declaration
    IPublishedContentType GetContentType(int id)
    Parameters
    Type Name Description
    System.Int32 id

    The content type unique identifier.

    Returns
    Type Description
    IPublishedContentType

    The content type, or null.

    View Source

    GetContentType(String)

    Gets a content type identified by its alias.

    Declaration
    IPublishedContentType GetContentType(string alias)
    Parameters
    Type Name Description
    System.String alias

    The content type alias.

    Returns
    Type Description
    IPublishedContentType

    The content type, or null.

    Remarks

    The alias is case-insensitive.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Get(IMember)
      • GetContentType(Int32)
      • GetContentType(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX