Class YamlSerializationMvcOptionsSetup
- 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
-
ObjectConfigureOptions<MvcOptions>YamlSerializationMvcOptionsSetup
- Implements
-
IConfigureOptions<MvcOptions>
- Inherited Members
-
ConfigureOptions<MvcOptions>.Configure(MvcOptions)ConfigureOptions<MvcOptions>.Action
Constructors
YamlSerializationMvcOptionsSetup(IOptions<YamlFormatterOptions>)
Creates a new YamlSerializationMvcOptionsSetup.
public YamlSerializationMvcOptionsSetup(IOptions<YamlFormatterOptions> formatterOptions)
Parameters
formatterOptions
IOptions<YamlFormatterOptions>