Class JsonSerializationMvcOptionsSetup
- Assembly
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.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
- Extension Methods
Constructors
JsonSerializationMvcOptionsSetup(IOptions<JsonFormatterOptions>)
Creates a new JsonSerializationMvcOptionsSetup.
public JsonSerializationMvcOptionsSetup(IOptions<JsonFormatterOptions> formatterOptions)
Parameters
formatterOptions
IOptions<JsonFormatterOptions>