using System.Collections.Generic; using Umbraco.Cms.Core.Routing; namespace Umbraco.Cms.Core.PublishedCache { public interface IDomainCache { /// /// 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); /// /// Gets the system default culture. /// string DefaultCulture { get; } } }