C# Class SharpArch.Web.Http.Castle.WindsorDependencyResolver

Inheritance: IDependencyResolver
Exibir arquivo Open project: sharparchitecture/Sharp-Architecture

Public Methods

Method Description
BeginScope ( ) : IDependencyScope

Begins the scope.

Dispose ( ) : void

Disposes the container.

GetService ( Type serviceType ) : object

Gets the service for the specified type.

GetServices ( Type serviceType ) : IEnumerable

Gets all services for the specified type.

WindsorDependencyResolver ( [ container ) : System

Initializes a new instance of the WindsorDependencyResolver class.

Method Details

BeginScope() public method

Begins the scope.
public BeginScope ( ) : IDependencyScope
return IDependencyScope

Dispose() public method

Disposes the container.
public Dispose ( ) : void
return void

GetService() public method

Gets the service for the specified type.
public GetService ( Type serviceType ) : object
serviceType System.Type Type of the service.
return object

GetServices() public method

Gets all services for the specified type.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type Type of the service.
return IEnumerable

WindsorDependencyResolver() public method

Initializes a new instance of the WindsorDependencyResolver class.
public WindsorDependencyResolver ( [ container ) : System
container [ The container.
return System