View Source
Class DomainCacheService
Inheritance
System.Object
Assembly: Umbraco.PublishedCache.HybridCache.dll
Syntax
public class DomainCacheService : IDomainCacheService
Constructors
View Source
DomainCacheService(IDomainService, ICoreScopeProvider)
Declaration
public DomainCacheService(IDomainService domainService, ICoreScopeProvider coreScopeProvider)
Parameters
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