Udostępnij za pośrednictwem


DependencyResolverExtensions.Resolve Method (IDependencyResolver, Type)

.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 ( _
    resolver As IDependencyResolver, _
    type As Type _
) As Object
'Usage
Dim resolver As IDependencyResolver 
Dim type As Type 
Dim returnValue As Object 

returnValue = resolver.Resolve(type)
public static Object Resolve(
    this IDependencyResolver resolver,
    Type type
)
[ExtensionAttribute]
public:
static Object^ Resolve(
    IDependencyResolver^ resolver, 
    Type^ type
)
static member Resolve : 
        resolver:IDependencyResolver * 
        type:Type -> Object
public static function Resolve(
    resolver : IDependencyResolver, 
    type : Type
) : Object

Parameters

Return Value

Type: System.Object

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