Class ApplyJsonFormatterConvention
Microsoft.
Inheritance
System.Object
ApplyJsonFormatterConvention
Implements
Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public class ApplyJsonFormatterConvention : Object, IApplicationModelConvention
Constructors
ApplyJsonFormatterConvention(Assembly)
Creates a new instance of Apply
Declaration
public ApplyJsonFormatterConvention(Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
System. |
assembly | The assembly to register IJson |
Properties
Assembly
The assembly to add input model binder for
Declaration
public Assembly Assembly { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Apply(ApplicationModel)
Declaration
public void Apply(ApplicationModel application)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
application |
Implements
Microsoft.AspNetCore.Mvc.ApplicationModels.IApplicationModelConvention