Search Results for

    Show / Hide Table of Contents
    View Source

    Class DomainCacheService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.HybridCache.Services
    Assembly: Umbraco.PublishedCache.HybridCache.dll
    Syntax
    public class DomainCacheService : IDomainCacheService

    Constructors

    View Source

    DomainCacheService(IDomainService, ICoreScopeProvider)

    Declaration
    public DomainCacheService(IDomainService domainService, ICoreScopeProvider coreScopeProvider)
    Parameters
    Type Name Description
    IDomainService domainService
    ICoreScopeProvider coreScopeProvider

    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
    View Source

    Refresh(DomainCacheRefresher.JsonPayload[])

    Declaration
    public void Refresh(DomainCacheRefresher.JsonPayload[] payloads)
    Parameters
    Type Name Description
    DomainCacheRefresher.JsonPayload[] payloads
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DomainCacheService(IDomainService, ICoreScopeProvider)
    • Methods
      • GetAll(Boolean)
      • GetAssigned(Int32, Boolean)
      • HasAssigned(Int32, Boolean)
      • Refresh(DomainCacheRefresher.JsonPayload[])
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX