Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentItemBinder

    The model binder for Umbraco.Web.Models.ContentEditing.ContentItemSave

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.BackOffice.ModelBinders
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class ContentItemBinder : IModelBinder

    Constructors

    View Source

    ContentItemBinder(IJsonSerializer, IUmbracoMapper, IContentService, IContentTypeService, IHostingEnvironment)

    Declaration
    public ContentItemBinder(IJsonSerializer jsonSerializer, IUmbracoMapper umbracoMapper, IContentService contentService, IContentTypeService contentTypeService, IHostingEnvironment hostingEnvironment)
    Parameters
    Type Name Description
    IJsonSerializer jsonSerializer
    IUmbracoMapper umbracoMapper
    IContentService contentService
    IContentTypeService contentTypeService
    IHostingEnvironment hostingEnvironment

    Methods

    View Source

    BindModelAsync(ModelBindingContext)

    Declaration
    public async Task BindModelAsync(ModelBindingContext bindingContext)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingContext bindingContext
    Returns
    Type Description
    Task
    View Source

    GetExisting(ContentItemSave)

    Declaration
    protected virtual IContent? GetExisting(ContentItemSave model)
    Parameters
    Type Name Description
    ContentItemSave model
    Returns
    Type Description
    System.Nullable<IContent>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ContentItemBinder(IJsonSerializer, IUmbracoMapper, IContentService, IContentTypeService, IHostingEnvironment)
    • Methods
      • BindModelAsync(ModelBindingContext)
      • GetExisting(ContentItemSave)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX