Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IContentTypeEditingService

    Namespace: Umbraco.Cms.Core.Services.ContentTypeEditing
    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
    Type Name Description
    ContentTypeCreateModel model
    Guid userKey
    Returns
    Type Description
    Task<Attempt<IContentType, ContentTypeOperationStatus>>
    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
    Type Description
    Task<IEnumerable<ContentTypeAvailableCompositionsResult>>
    View Source

    UpdateAsync(IContentType, ContentTypeUpdateModel, Guid)

    Declaration
    Task<Attempt<IContentType, ContentTypeOperationStatus>> UpdateAsync(IContentType contentType, ContentTypeUpdateModel model, Guid userKey)
    Parameters
    Type Name Description
    IContentType contentType
    ContentTypeUpdateModel model
    Guid userKey
    Returns
    Type Description
    Task<Attempt<IContentType, ContentTypeOperationStatus>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • CreateAsync(ContentTypeCreateModel, Guid)
      • GetAvailableCompositionsAsync(Nullable<Guid>, IEnumerable<Guid>, IEnumerable<String>, Boolean)
      • UpdateAsync(IContentType, ContentTypeUpdateModel, Guid)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX