Manages IContentType objects.
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic interface IContentTypeService : IContentTypeBaseService<IContentType>, IContentTypeBaseService, IService
Methods View Source GetAllContentTypeAliases(Guid[])
Gets all content type aliases
DeclarationIEnumerable<string> GetAllContentTypeAliases(params Guid[] objectTypes)
Parameters Type Name Description Guid[] objectTypes
If this list is empty, it will return all content type aliases for media, members and content, otherwise it will only return content type aliases for the object types specified
Returns Type Description IEnumerable<System.String> View Source GetAllContentTypeIds(String[])Returns all content type Ids for the aliases given
DeclarationIEnumerable<int> GetAllContentTypeIds(string[] aliases)
Parameters Type Name Description System.String[] aliases Returns Type Description IEnumerable<System.Int32> View Source GetAllPropertyTypeAliases()
Gets all property type aliases.
DeclarationIEnumerable<string> GetAllPropertyTypeAliases()
Returns Type Description IEnumerable<System.String> View Source GetByQueryAsync(IQuery<IContentType>, CancellationToken) Declaration
virtual Task<IEnumerable<IContentType>> GetByQueryAsync(IQuery<IContentType> query, CancellationToken cancellationToken)
Parameters Returns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4