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
ConfigurableInputFormatter<TOptions>
Implements
IConfigurable<TOptions>
Derived
Inherited Members

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