Interface IPublishedMemberCache
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface IPublishedMemberCache
Methods
View SourceGet(IMember)
Get an IPublishedContent from an IMember
Declaration
IPublishedMember Get(IMember member)
Parameters
Type | Name | Description |
---|---|---|
IMember | member |
Returns
Type | Description |
---|---|
IPublishedMember |
GetAsync(IMember)
Get an IPublishedContent from an IMember
Declaration
Task<IPublishedMember> GetAsync(IMember member)
Parameters
Type | Name | Description |
---|---|---|
IMember | member |
Returns
Type | Description |
---|---|
Task<IPublishedMember> |
GetContentType(Int32)
Gets a content type identified by its unique identifier.
Declaration
IPublishedContentType GetContentType(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The content type unique identifier. |
Returns
Type | Description |
---|---|
IPublishedContentType | The content type, or null. |
GetContentType(String)
Gets a content type identified by its alias.
Declaration
IPublishedContentType GetContentType(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The content type alias. |
Returns
Type | Description |
---|---|
IPublishedContentType | The content type, or null. |
Remarks
The alias is case-insensitive.