View Source
Interface IContentTypeRepository
Assembly: Umbraco.Core.dll
Syntax
public interface IContentTypeRepository : IContentTypeRepositoryBase<IContentType>, IReadWriteQueryRepository<int, IContentType>, IReadRepository<int, IContentType>, IWriteRepository<IContentType>, IQueryRepository<IContentType>, IReadRepository<Guid, IContentType>, IRepository
Methods
View Source
GetAllContentTypeAliases(Guid[])
Gets all content type aliases
Declaration
IEnumerable<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[])
Declaration
IEnumerable<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.
Declaration
IEnumerable<string> GetAllPropertyTypeAliases()
Returns
Type |
Description |
IEnumerable<System.String> |
|
View Source
GetByQuery(IQuery<PropertyType>)
Declaration
IEnumerable<IContentType> GetByQuery(IQuery<PropertyType> query)
Parameters
Returns