Table of Contents

Class ConfigurableInputFormatter<TOptions>

Namespace
Cuemon.AspNetCore.Mvc.Formatters
Assembly
Cuemon.AspNetCore.Mvc.dll

Provides an alternate way to read an object from a request body with a text format.

public abstract class ConfigurableInputFormatter<TOptions> : TextInputFormatter, IInputFormatter, IApiRequestFormatMetadataProvider, IConfigurable<TOptions> where TOptions : class, IParameterObject, new()

Type Parameters

TOptions

The type of the configured options.

Inheritance
Object
InputFormatter
TextInputFormatter
ConfigurableInputFormatter<TOptions>
Implements
IInputFormatter
IApiRequestFormatMetadataProvider
IConfigurable<TOptions>
Derived
Inherited Members
TextInputFormatter.UTF8EncodingWithoutBOM
TextInputFormatter.UTF16EncodingLittleEndian
TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext)
TextInputFormatter.ReadRequestBodyAsync(InputFormatterContext, Encoding)
TextInputFormatter.SelectCharacterEncoding(InputFormatterContext)
TextInputFormatter.SupportedEncodings
InputFormatter.GetDefaultValueForType(Type)
InputFormatter.CanRead(InputFormatterContext)
InputFormatter.CanReadType(Type)
InputFormatter.ReadAsync(InputFormatterContext)
InputFormatter.GetSupportedContentTypes(String, Type)
InputFormatter.SupportedMediaTypes

Constructors

ConfigurableInputFormatter(TOptions)

Initializes a new instance of the ConfigurableInputFormatter<TOptions> class.

protected ConfigurableInputFormatter(TOptions options)

Parameters

options TOptions

The TOptions which need to be configured.

Properties

Options

Gets the configured options of this instance.

public TOptions Options { get; }

Property Value

TOptions

The configured options of this instance.

See Also

TextInputFormatter
IConfigurable<TOptions>