using System; using System.Collections.Generic; using Umbraco.Core.Models.PublishedContent; using Umbraco.Web.Routing; namespace Umbraco.Web.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; } } }