Class ConfigurableOutputFormatter<TOptions>
- Namespace
- Cuemon.AspNetCore.Mvc.Formatters
- Assembly
- Cuemon.AspNetCore.Mvc.dll
Provides an alternate way to write an object in a given text format to the output stream.
public abstract class ConfigurableOutputFormatter<TOptions> : TextOutputFormatter, IOutputFormatter, IApiResponseTypeMetadataProvider, IConfigurable<TOptions> where TOptions : class, IParameterObject, new()
Type Parameters
TOptions
The type of the configured options.
- Inheritance
-
ConfigurableOutputFormatter<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
ConfigurableOutputFormatter(TOptions)
Initializes a new instance of the ConfigurableOutputFormatter<TOptions> class.
protected ConfigurableOutputFormatter(TOptions options)
Parameters
options
TOptionsThe
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
IConfigurable<TOptions>