Class HttpControllerSettings
- Namespace
- System.Web.Http.Controllers
- Assembly
- System.Web.Http.dll
Contains settings for an HTTP controller.
public sealed class HttpControllerSettings
- Inheritance
-
HttpControllerSettings
- Inherited Members
Constructors
HttpControllerSettings(HttpConfiguration)
Initializes a new instance of the HttpControllerSettings class.
public HttpControllerSettings(HttpConfiguration configuration)
Parameters
configuration
HttpConfigurationA configuration object that is used to initialize the instance.
Properties
Formatters
Gets the collection of System.Net.Http.Formatting.MediaTypeFormatter instances for the controller.
public MediaTypeFormatterCollection Formatters { get; }
Property Value
- MediaTypeFormatterCollection
The collection of System.Net.Http.Formatting.MediaTypeFormatter instances.
ParameterBindingRules
Gets the collection of parameter bindingfunctions for for the controller.
public ParameterBindingRulesCollection ParameterBindingRules { get; }
Property Value
- ParameterBindingRulesCollection
The collection of parameter binding functions.
Services
Gets the collection of service instances for the controller.
public ServicesContainer Services { get; }
Property Value
- ServicesContainer
The collection of service instances.