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

Dependency scope for Windsor container.
Inheritance: IDependencyScope
Mostra file Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetService ( Type serviceType ) : object

Retrieves a service from the container.

GetServices ( Type serviceType ) : IEnumerable

Retrieves a collection of services from the container.

WindsorDependencyScope ( [ container ) : System

Private Methods

Method Description
TryResolveService ( IWindsorContainer container, Type serviceType ) : object
TryResolveServices ( IWindsorContainer container, Type serviceType ) : IEnumerable

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

GetService() public method

Retrieves a service from the container.
public GetService ( Type serviceType ) : object
serviceType System.Type The service to be retrieved.
return object

GetServices() public method

Retrieves a collection of services from the container.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type The collection of services to be retrieved.
return IEnumerable

WindsorDependencyScope() public method

public WindsorDependencyScope ( [ container ) : System
container [ Windsor container.
return System