Interface IPublishedCache2
Namespace: Umbraco.Web.PublishedCache
Assembly: Umbraco.Web.dll
Syntax
public interface IPublishedCache2 : IPublishedCache, IXPathNavigable
Methods
View SourceGetContentType(Guid)
Gets a content type identified by its alias.
Declaration
IPublishedContentType GetContentType(Guid key)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | key | The content type key. |
Returns
Type | Description |
---|---|
IPublishedContentType | The content type, or null. |