ServicesExtensions Class

 

Provides type-safe accessors for services obtained from a ServicesContainerobject.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.ServicesExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class ServicesExtensions
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public ref class ServicesExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type ServicesExtensions = class end
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public NotInheritable Class ServicesExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetActionInvoker(ServicesContainer)

Gets the IHttpActionInvoker service.

System_CAPS_pubmethodSystem_CAPS_static GetActionSelector(ServicesContainer)

Gets the IHttpActionSelector service.

System_CAPS_pubmethodSystem_CAPS_static GetActionValueBinder(ServicesContainer)

Gets the IActionValueBinder service.

System_CAPS_pubmethodSystem_CAPS_static GetApiExplorer(ServicesContainer)

Gets the IApiExplorer service.

System_CAPS_pubmethodSystem_CAPS_static GetAssembliesResolver(ServicesContainer)

Gets the IAssembliesResolver service.

System_CAPS_pubmethodSystem_CAPS_static GetBodyModelValidator(ServicesContainer)

Gets the IBodyModelValidator service.

System_CAPS_pubmethodSystem_CAPS_static GetContentNegotiator(ServicesContainer)

Gets the IContentNegotiator service.

System_CAPS_pubmethodSystem_CAPS_static GetDocumentationProvider(ServicesContainer)

Gets the IDocumentationProvider service.

System_CAPS_pubmethodSystem_CAPS_static GetExceptionHandler(ServicesContainer)

Returns the registered unhandled exception handler, if any.

System_CAPS_pubmethodSystem_CAPS_static GetExceptionLoggers(ServicesContainer)

Returns the collection of registered unhandled exception loggers.

System_CAPS_pubmethodSystem_CAPS_static GetFilterProviders(ServicesContainer)

Gets the IFilterProvider collection.

System_CAPS_pubmethodSystem_CAPS_static GetHostBufferPolicySelector(ServicesContainer)

Gets the IHostBufferPolicySelector service.

System_CAPS_pubmethodSystem_CAPS_static GetHttpControllerActivator(ServicesContainer)

Gets the IHttpControllerActivator service.

System_CAPS_pubmethodSystem_CAPS_static GetHttpControllerSelector(ServicesContainer)

Gets the IHttpControllerSelector service.

System_CAPS_pubmethodSystem_CAPS_static GetHttpControllerTypeResolver(ServicesContainer)

Gets the IHttpControllerTypeResolver service.

System_CAPS_pubmethodSystem_CAPS_static GetModelBinderProviders(ServicesContainer)

Gets the ModelBinderProvider collection.

System_CAPS_pubmethodSystem_CAPS_static GetModelMetadataProvider(ServicesContainer)

Gets the ModelMetadataProvider service.

System_CAPS_pubmethodSystem_CAPS_static GetModelValidatorProviders(ServicesContainer)

Gets the ModelValidatorProvider collection.

System_CAPS_pubmethodSystem_CAPS_static GetTraceManager(ServicesContainer)

Gets the ITraceManager service.

System_CAPS_pubmethodSystem_CAPS_static GetTraceWriter(ServicesContainer)

Gets the ITraceWriterservice.

System_CAPS_pubmethodSystem_CAPS_static GetValueProviderFactories(ServicesContainer)

Gets the ValueProviderFactory collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http Namespace

Return to top