View Source
Interface IContentTypeEditingService
Assembly: Umbraco.Core.dll
Syntax
public interface IContentTypeEditingService
Methods
View Source
CreateAsync(ContentTypeCreateModel, Guid)
Declaration
Task<Attempt<IContentType, ContentTypeOperationStatus>> CreateAsync(ContentTypeCreateModel model, Guid userKey)
Parameters
Returns
View Source
GetAvailableCompositionsAsync(Nullable<Guid>, IEnumerable<Guid>, IEnumerable<String>, Boolean)
Declaration
Task<IEnumerable<ContentTypeAvailableCompositionsResult>> GetAvailableCompositionsAsync(Guid? key, IEnumerable<Guid> currentCompositeKeys, IEnumerable<string> currentPropertyAliases, bool isElement)
Parameters
Type |
Name |
Description |
System.Nullable<Guid> |
key |
|
IEnumerable<Guid> |
currentCompositeKeys |
|
IEnumerable<System.String> |
currentPropertyAliases |
|
System.Boolean |
isElement |
|
Returns
View Source
UpdateAsync(IContentType, ContentTypeUpdateModel, Guid)
Declaration
Task<Attempt<IContentType, ContentTypeOperationStatus>> UpdateAsync(IContentType contentType, ContentTypeUpdateModel model, Guid userKey)
Parameters
Returns