using Umbraco.Cms.Core.Cache; using Umbraco.Cms.Core.Routing; namespace Umbraco.Cms.Core.PublishedCache; public interface IDomainCacheService { /// /// Gets all in the current domain cache, including any domains that may be referenced by /// documents that are no longer published. /// /// /// IEnumerable GetAll(bool includeWildcards); /// /// Gets all assigned for specified document, even if it is not published. /// /// The document identifier. /// A value indicating whether to consider wildcard domains. IEnumerable GetAssigned(int documentId, bool includeWildcards = false); /// /// Determines whether a document has domains. /// /// The document identifier. /// A value indicating whether to consider wildcard domains. bool HasAssigned(int documentId, bool includeWildcards = false); void Refresh(DomainCacheRefresher.JsonPayload[] payloads); }