Class ContentModelBinderProvider
The provider for ContentModelBinder mapping view models, supporting mapping to and from any IPublishedContent or IContentModel.
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.ModelBinders
Assembly: Umbraco.Web.Common.dll
Syntax
public class ContentModelBinderProvider : IModelBinderProvider
Methods
View SourceGetBinder(ModelBinderProviderContext)
Declaration
public IModelBinder GetBinder(ModelBinderProviderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderProviderContext | context |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder |