Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainCache

    Implements IDomainCache for NuCache.

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

    Constructors

    View Source

    DomainCache(IDefaultCultureAccessor, IDomainCacheService)

    Initializes a new instance of the DomainCache class.

    Declaration
    public DomainCache(IDefaultCultureAccessor defaultCultureAccessor, IDomainCacheService domainCacheService)
    Parameters
    Type Name Description
    IDefaultCultureAccessor defaultCultureAccessor
    IDomainCacheService domainCacheService

    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(IDefaultCultureAccessor, IDomainCacheService)
    • Properties
      • DefaultCulture
    • Methods
      • GetAll(Boolean)
      • GetAssigned(Int32, Boolean)
      • HasAssigned(Int32, Boolean)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX