Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainCache

    Implements IDomainCache for NuCache.

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

    Constructors

    View Source

    DomainCache(SnapDictionary<Int32, Domain>.Snapshot, String)

    Initializes a new instance of the DomainCache class.

    Declaration
    public DomainCache(SnapDictionary<int, Domain>.Snapshot snapshot, string defaultCulture)
    Parameters
    Type Name Description
    SnapDictionary.Snapshot<> snapshot
    System.String defaultCulture

    Properties

    View Source

    DefaultCulture

    Gets the system default culture.

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

    Methods

    View Source

    GetAll(Boolean)

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

    GetAssigned(Int32, Boolean)

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

    HasAssigned(Int32, Boolean)

    Determines whether a document has domains.

    Declaration
    public 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
    • Constructors
      • DomainCache(SnapDictionary<Int32, Domain>.Snapshot, String)
    • Properties
      • DefaultCulture
    • Methods
      • GetAll(Boolean)
      • GetAssigned(Int32, Boolean)
      • HasAssigned(Int32, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX