DependencyResolverExtensions.Resolve<T> Method (IDependencyResolver)

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)


<ExtensionAttribute> _
Public Shared Function Resolve(Of T) ( _
    resolver As IDependencyResolver _
) As T
Dim resolver As IDependencyResolver 
Dim returnValue As T

returnValue = resolver.Resolve()
public static T Resolve<T>(
    this IDependencyResolver resolver
generic<typename T>
static T Resolve(
    IDependencyResolver^ resolver
static member Resolve : 
        resolver:IDependencyResolver -> 'T 
JScript does not support generic types and methods.

Type Parameters

  • T


Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDependencyResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DependencyResolverExtensions Class

Resolve Overload

Microsoft.AspNet.SignalR Namespace