Share via


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

.NET Framework 4

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

Syntax

'Declaration
Sub Register ( _
    serviceType As Type, _
    activators As IEnumerable(Of Func(Of Object)) _
)
'Usage
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>>
)

Parameters

See Also

Reference

IDependencyResolver Interface

Register Overload

Microsoft.AspNet.SignalR Namespace