Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDomainCache

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

    Properties

    View Source

    DefaultCulture

    Gets the system default culture.

    Declaration
    string DefaultCulture { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    GetAll(Boolean)

    Gets all Domain in the current domain cache, including any domains that may be referenced by documents that are no longer published.

    Declaration
    IEnumerable<Domain> GetAll(bool includeWildcards)
    Parameters
    Type Name Description
    System.Boolean includeWildcards
    Returns
    Type Description
    IEnumerable<Domain>
    View Source

    GetAssigned(Int32, Boolean)

    Gets all assigned Domain for specified document, even if it is not published.

    Declaration
    IEnumerable<Domain> GetAssigned(int documentId, bool includeWildcards = false)
    Parameters
    Type Name Description
    System.Int32 documentId

    The document identifier.

    System.Boolean includeWildcards

    A value indicating whether to consider wildcard domains.

    Returns
    Type Description
    IEnumerable<Domain>
    View Source

    HasAssigned(Int32, Boolean)

    Determines whether a document has domains.

    Declaration
    bool HasAssigned(int documentId, bool includeWildcards = false)
    Parameters
    Type Name Description
    System.Int32 documentId

    The document identifier.

    System.Boolean includeWildcards

    A value indicating whether to consider wildcard domains.

    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DefaultCulture
    • Methods
      • GetAll(Boolean)
      • GetAssigned(Int32, Boolean)
      • HasAssigned(Int32, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX