Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentModelBinderProvider

    The provider for ContentModelBinder mapping view models, supporting mapping to and from any IPublishedContent or IContentModel.

    Inheritance
    object
    Namespace: Umbraco.Cms.Web.Common.ModelBinders
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class ContentModelBinderProvider

    Methods

    View Source

    GetBinder(ModelBinderProviderContext)

    Creates a Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder based on Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext.

    Declaration
    public IModelBinder? GetBinder(ModelBinderProviderContext context)
    Parameters
    Type Name Description
    ModelBinderProviderContext context

    The Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext.

    Returns
    Type Description
    IModelBinder

    An Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX