Table of Contents

Class YamlSerializationMvcOptionsSetup

Namespace
Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml
Assembly
Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml.dll

A Microsoft.Extensions.Options.ConfigureOptions<TOptions> implementation which will add the YAML serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.

public class YamlSerializationMvcOptionsSetup : ConfigureOptions<MvcOptions>, IConfigureOptions<MvcOptions>
Inheritance
Object
ConfigureOptions<MvcOptions>
YamlSerializationMvcOptionsSetup
Implements
IConfigureOptions<MvcOptions>
Inherited Members
ConfigureOptions<MvcOptions>.Configure(MvcOptions)
ConfigureOptions<MvcOptions>.Action

Constructors

YamlSerializationMvcOptionsSetup(IOptions<YamlFormatterOptions>)

public YamlSerializationMvcOptionsSetup(IOptions<YamlFormatterOptions> formatterOptions)

Parameters

formatterOptions IOptions<YamlFormatterOptions>