2016-05-26 17:12:04 +02:00
using System.Collections.Generic ;
using Umbraco.Web.Routing ;
namespace Umbraco.Web.PublishedCache
{
public interface IDomainCache
{
2018-05-10 23:07:33 +10:00
/// <summary>
/// Returns all <see cref="Domain"/> in the current domain cache including any domains that may be referenced by content items that are no longer published
/// </summary>
/// <param name="includeWildcards"></param>
/// <returns></returns>
2016-05-26 17:12:04 +02:00
IEnumerable < Domain > GetAll ( bool includeWildcards ) ;
2018-05-10 23:07:33 +10:00
/// <summary>
/// Returns all assigned <see cref="Domain"/> for the content id specified even if the content item is not published
/// </summary>
/// <param name="contentId"></param>
/// <param name="includeWildcards"></param>
/// <returns></returns>
2016-05-26 17:12:04 +02:00
IEnumerable < Domain > GetAssigned ( int contentId , bool includeWildcards ) ;
2018-05-10 23:07:33 +10:00
2018-04-26 16:03:08 +02:00
string DefaultCulture { get ; }
2016-05-26 17:12:04 +02:00
}
}