Class JsonSerializationMvcOptionsSetup
- Assembly
- Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json.dll
A ConfigureOptions<TOptions> implementation which will add the JSON serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.
public class JsonSerializationMvcOptionsSetup : ConfigureOptions<MvcOptions>, IConfigureOptions<MvcOptions>
- Inheritance
-
ConfigureOptions<MvcOptions>JsonSerializationMvcOptionsSetup
- Implements
-
IConfigureOptions<MvcOptions>
- Inherited Members
Constructors
JsonSerializationMvcOptionsSetup(IOptions<NewtonsoftJsonFormatterOptions>)
Creates a new JsonSerializationMvcOptionsSetup.
public JsonSerializationMvcOptionsSetup(IOptions<NewtonsoftJsonFormatterOptions> formatterOptions)
Parameters
formatterOptions
IOptions<NewtonsoftJsonFormatterOptions>