DefaultHttpControllerTypeResolver.GetControllerTypes Method
Returns a list of controllers available for the application.
Namespace: System.Web.Http.Dispatcher
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Overridable Function GetControllerTypes ( _
assembliesResolver As IAssembliesResolver _
) As ICollection(Of Type)
'Usage
Dim instance As DefaultHttpControllerTypeResolver
Dim assembliesResolver As IAssembliesResolver
Dim returnValue As ICollection(Of Type)
returnValue = instance.GetControllerTypes(assembliesResolver)
public virtual ICollection<Type> GetControllerTypes(
IAssembliesResolver assembliesResolver
)
public:
virtual ICollection<Type^>^ GetControllerTypes(
IAssembliesResolver^ assembliesResolver
)
abstract GetControllerTypes :
assembliesResolver:IAssembliesResolver -> ICollection<Type>
override GetControllerTypes :
assembliesResolver:IAssembliesResolver -> ICollection<Type>
public function GetControllerTypes(
assembliesResolver : IAssembliesResolver
) : ICollection<Type>
Parameters
assembliesResolver
Type: System.Web.Http.Dispatcher.IAssembliesResolverThe assemblies resolver.
Return Value
Type: System.Collections.Generic.ICollection<Type>
An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers.
Implements
IHttpControllerTypeResolver.GetControllerTypes(IAssembliesResolver)