IDependencyResolver.Register Method (Type, IEnumerable<Func<Object>>)

.NET Framework 4.5

Registers a list of service for the specified type.

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


Sub Register ( _
    serviceType As Type, _
    activators As IEnumerable(Of Func(Of Object)) _
Dim instance As IDependencyResolver 
Dim serviceType As Type 
Dim activators As IEnumerable(Of Func(Of Object))

instance.Register(serviceType, activators)
void Register(
    Type serviceType,
    IEnumerable<Func<Object>> activators
void Register(
    Type^ serviceType, 
    IEnumerable<Func<Object^>^>^ activators
abstract Register : 
        serviceType:Type * 
        activators:IEnumerable<Func<Object>> -> unit
function Register(
    serviceType : Type, 
    activators : IEnumerable<Func<Object>>


  • serviceType
    Type: System.Type
    The type of the service to register.

See Also


IDependencyResolver Interface

Register Overload

Microsoft.AspNet.SignalR Namespace