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

Dependency scope for Windsor container.
Inheritance: IDependencyScope
Afficher le fichier Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
TryResolveService ( IWindsorContainer container, Type serviceType ) : object
TryResolveServices ( IWindsorContainer container, Type serviceType ) : IEnumerable

Method Details

Dispose() public méthode

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

GetService() public méthode

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

GetServices() public méthode

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

WindsorDependencyScope() public méthode

public WindsorDependencyScope ( [ container ) : System
container [ Windsor container.
Résultat System