IHttpControllerTypeResolver.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
Function GetControllerTypes ( _
assembliesResolver As IAssembliesResolver _
) As ICollection(Of Type)
'Usage
Dim instance As IHttpControllerTypeResolver
Dim assembliesResolver As IAssembliesResolver
Dim returnValue As ICollection(Of Type)
returnValue = instance.GetControllerTypes(assembliesResolver)
ICollection<Type> GetControllerTypes(
IAssembliesResolver assembliesResolver
)
ICollection<Type^>^ GetControllerTypes(
IAssembliesResolver^ assembliesResolver
)
abstract GetControllerTypes :
assembliesResolver:IAssembliesResolver -> ICollection<Type>
function GetControllerTypes(
assembliesResolver : IAssembliesResolver
) : ICollection<Type>
Parameters
assembliesResolver
Type: System.Web.Http.Dispatcher.IAssembliesResolverThe resolver for failed assemblies.
Return Value
Type: System.Collections.Generic.ICollection<Type>
An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers.