C# Class Ninject.Web.WebApi.NinjectDependencyScope

Dependency scope implementation for ninject.
Inheritance: IDependencyScope
Afficher le fichier Open project: ninject/Ninject.Web.WebApi

Méthodes publiques

Méthode Description
GetService ( Type serviceType ) : object

Gets the service of the specified type.

GetServices ( Type serviceType ) : IEnumerable

Gets the services of the specifies type.

NinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System

Initializes a new instance of the NinjectDependencyScope class.

Method Details

GetService() public méthode

Gets the service of the specified type.
public GetService ( Type serviceType ) : object
serviceType System.Type The type of the service.
Résultat object

GetServices() public méthode

Gets the services of the specifies type.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type The type of the service.
Résultat IEnumerable

NinjectDependencyScope() public méthode

Initializes a new instance of the NinjectDependencyScope class.
public NinjectDependencyScope ( IResolutionRoot resolutionRoot ) : System
resolutionRoot IResolutionRoot The resolution root.
Résultat System