Udostępnij za pośrednictwem


DependencyResolverExtensions.ResolveAll<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 ResolveAll(Of T) ( _
    resolver As IDependencyResolver _
) As IEnumerable(Of T)
'Usage
Dim resolver As IDependencyResolver 
Dim returnValue As IEnumerable(Of T)

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

Type Parameters

  • T

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<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

ResolveAll Overload

Microsoft.AspNet.SignalR Namespace