Class YamlSerializationInputFormatter
- Assembly
- Codebelt.Extensions.AspNetCore.Mvc.Formatters.Text.Yaml.dll
This class handles deserialization of YAML to objects using YamlFormatter.
public class YamlSerializationInputFormatter : StreamInputFormatter<YamlFormatter, YamlFormatterOptions>, IInputFormatter, IApiRequestFormatMetadataProvider, IConfigurable<YamlFormatterOptions>
- Inheritance
-
ObjectInputFormatterTextInputFormatterYamlSerializationInputFormatter
- Implements
-
IInputFormatterIApiRequestFormatMetadataProvider
- Inherited Members
-
TextInputFormatter.UTF8EncodingWithoutBOMTextInputFormatter.UTF16EncodingLittleEndianTextInputFormatter.ReadRequestBodyAsync(InputFormatterContext)TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext, Encoding)TextInputFormatter.SelectCharacterEncoding(InputFormatterContext)TextInputFormatter.SupportedEncodingsInputFormatter.GetDefaultValueForType(Type)InputFormatter.CanRead(InputFormatterContext)InputFormatter.CanReadType(Type)InputFormatter.ReadAsync(InputFormatterContext)InputFormatter.GetSupportedContentTypes(String, Type)InputFormatter.SupportedMediaTypes
Constructors
YamlSerializationInputFormatter(YamlFormatterOptions)
Initializes a new instance of the YamlSerializationInputFormatter class.
public YamlSerializationInputFormatter(YamlFormatterOptions options)
Parameters
options
YamlFormatterOptionsThe YamlFormatterOptions which need to be configured.