C# Class Griffin.Container.Mvc4.GriffinDependencyResolver

Griffin.Container implementation
Inheritance: IDependencyResolver
Afficher le fichier Open project: jgauffin/Griffin.Container Class Usage Examples

Méthodes publiques

Méthode Description
DisposeChildContainer ( ) : void

Dispose current child container (if any)

GetService ( Type serviceType ) : object

Resolves singly registered services that support arbitrary object creation.

GetServices ( Type serviceType ) : IEnumerable

Resolves multiply registered services.

GriffinDependencyResolver ( IParentContainer container ) : System

Initializes a new instance of the GriffinDependencyResolver class.

Private Methods

Méthode Description
CreateAndStartChildContainer ( ) : IChildContainer

Method Details

DisposeChildContainer() public static méthode

Dispose current child container (if any)
public static DisposeChildContainer ( ) : void
Résultat void

GetService() public méthode

Resolves singly registered services that support arbitrary object creation.
public GetService ( Type serviceType ) : object
serviceType System.Type The type of the requested service or object.
Résultat object

GetServices() public méthode

Resolves multiply registered services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type The type of the requested services.
Résultat IEnumerable

GriffinDependencyResolver() public méthode

Initializes a new instance of the GriffinDependencyResolver class.
public GriffinDependencyResolver ( IParentContainer container ) : System
container IParentContainer The container.
Résultat System