Share via


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

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

Parameters

Return Value

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

ResolveAll Overload

Microsoft.AspNet.SignalR Namespace