Share via


DependencyResolverExtensions.Resolve<T> Method (IDependencyResolver)

.NET Framework 4

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

Syntax

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

returnValue = resolver.Resolve()
public static T Resolve<T>(
    this IDependencyResolver resolver
)
[ExtensionAttribute]
public:
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

Parameters

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 https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).

See Also

Reference

DependencyResolverExtensions Class

Resolve Overload

Microsoft.AspNet.SignalR Namespace