ServicesExtensions.GetHttpControllerActivator Method (ServicesContainer)
Gets the IHttpControllerActivator service.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
public static IHttpControllerActivator GetHttpControllerActivator(
this ServicesContainer services
)
public:
[ExtensionAttribute]
static IHttpControllerActivator^ GetHttpControllerActivator(
ServicesContainer^ services
)
static member GetHttpControllerActivator :
services:ServicesContainer -> IHttpControllerActivator
<ExtensionAttribute>
Public Shared Function GetHttpControllerActivator (
services As ServicesContainer
) As IHttpControllerActivator
Parameters
services
Type: System.Web.Http.Controllers.ServicesContainerThe services container.
Return Value
Type: System.Web.Http.Dispatcher.IHttpControllerActivator
Returns an IHttpControllerActivator instance, or null if no instance was registered.
See Also
ServicesExtensions Class
System.Web.Http Namespace
Return to top