IDependencyResolver Interface

.NET Framework 4.5

Provides an interface that represents the dependency resolver for SignalR.

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

Syntax

'Declaration
Public Interface IDependencyResolver _
    Inherits IDisposable
'Usage
Dim instance As IDependencyResolver
public interface IDependencyResolver : IDisposable
public interface class IDependencyResolver : IDisposable
type IDependencyResolver =  
    interface 
        interface IDisposable 
    end
public interface IDependencyResolver extends IDisposable

The IDependencyResolver type exposes the following members.

Methods

  Name Description
Public method Dispose (Inherited from IDisposable.)
Public method GetService Returns the service for the given type.
Public method GetServices Returns the services for the given type.
Public method Register(Type, IEnumerable<Func<Object>>) Registers a list of service for the specified type.
Public method Register(Type, Func<Object>) Registers a service for the specified type.

Top

Extension Methods

  Name Description
Public Extension Method InitializeHost Initialize the host for the dependency resolver extensions. (Defined by HostDependencyResolverExtensions.)
Public Extension Method Resolve(Type) Overloaded. Resolves the type of extensions. (Defined by DependencyResolverExtensions.)
Public Extension Method Resolve<T>() Overloaded. Resolves the type of extensions. (Defined by DependencyResolverExtensions.)
Public Extension Method ResolveAll(Type) Overloaded. Resolves all the types of extensions. (Defined by DependencyResolverExtensions.)
Public Extension Method ResolveAll<T>() Overloaded. Resolves all the types of extensions. (Defined by DependencyResolverExtensions.)
Public Extension Method UseRedis(RedisScaleoutConfiguration) Overloaded. Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm. (Defined by DependencyResolverExtensions.)
Public Extension Method UseRedis(String, Int32, String, String) Overloaded. Use Redis as the messaging backplane for scaling out of ASP.NET SignalR applications in a web farm. (Defined by DependencyResolverExtensions.)
Public Extension Method UseServiceBus(ServiceBusScaleoutConfiguration) Overloaded. Use service bus as a messaging backplane to scale-out message bus implementation. (Defined by DependencyResolverExtensions.)
Public Extension Method UseServiceBus(String, String) Overloaded. Use service bus as a messaging backplane to scale-out message bus implementation. (Defined by DependencyResolverExtensions.)
Public Extension Method UseSqlServer(String) Overloaded. Use SQL server as a messaging backplane to scale-out message bus implementation. (Defined by DependencyResolverExtensions.)
Public Extension Method UseSqlServer(SqlScaleoutConfiguration) Overloaded. Use SQL server as a messaging backplane to scale-out message bus implementation. (Defined by DependencyResolverExtensions.)

Top

See Also

Reference

Microsoft.AspNet.SignalR Namespace