C# Class SignalR.Autofac.AutofacDependencyResolver

SingalR dependency resolver using Autofac container as backend.
Inheritance: DefaultDependencyResolver, IRegistrationSource
Show file Open project: pszmyd/SignalR.Autofac Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AutofacDependencyResolver ( ) : System
AutofacDependencyResolver ( ILifetimeScope lifetimeScope ) : System
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
RegistrationsFor ( Autofac.Core.Service service, Func registrationAccessor ) : IEnumerable

Method Details

AutofacDependencyResolver() public method

public AutofacDependencyResolver ( ) : System
return System

AutofacDependencyResolver() public method

public AutofacDependencyResolver ( ILifetimeScope lifetimeScope ) : System
lifetimeScope ILifetimeScope
return System

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetServices() public method

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

RegistrationsFor() public method

public RegistrationsFor ( Autofac.Core.Service service, Func registrationAccessor ) : IEnumerable
service Autofac.Core.Service
registrationAccessor Func
return IEnumerable