Table of Contents

Class JsonSerializationMvcOptionsSetup

Namespace
Codebelt.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json
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>)

public JsonSerializationMvcOptionsSetup(IOptions<NewtonsoftJsonFormatterOptions> formatterOptions)

Parameters

formatterOptions IOptions<NewtonsoftJsonFormatterOptions>