Introduce IPublishedContentType
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Umbraco.Web.PublishedCache
|
||||
/// </summary>
|
||||
/// <param name="id">The content type unique identifier.</param>
|
||||
/// <returns>The content type, or null.</returns>
|
||||
PublishedContentType GetContentType(int id);
|
||||
IPublishedContentType GetContentType(int id);
|
||||
|
||||
/// <summary>
|
||||
/// Gets a content type identified by its alias.
|
||||
@@ -30,6 +30,6 @@ namespace Umbraco.Web.PublishedCache
|
||||
/// <param name="alias">The content type alias.</param>
|
||||
/// <returns>The content type, or null.</returns>
|
||||
/// <remarks>The alias is case-insensitive.</remarks>
|
||||
PublishedContentType GetContentType(string alias);
|
||||
IPublishedContentType GetContentType(string alias);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user