Class UmbracoJsonModelBinderConvention
Applies the UmbracoJsonModelBinder body model binder to any complex parameter and those with a binding source of type Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource.Body
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.ApplicationModels
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoJsonModelBinderConvention : IActionModelConvention
Constructors
View SourceUmbracoJsonModelBinderConvention()
Declaration
public UmbracoJsonModelBinderConvention()
UmbracoJsonModelBinderConvention(IModelMetadataProvider)
Declaration
public UmbracoJsonModelBinderConvention(IModelMetadataProvider modelMetadataProvider)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider | modelMetadataProvider |
Methods
View SourceApply(ActionModel)
Declaration
public void Apply(ActionModel action)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.ApplicationModels.ActionModel | action |