C# Class XInject.Containers.HashContainer

Inheritance: Container
Afficher le fichier Open project: radixeng/XInject Class Usage Examples

Méthodes publiques

Méthode Description
ContainsInstanceOfSingleton ( Type type ) : bool
CreateStackScope ( int scope_id, Type type, object constructor_args ) : void
DestroyStackScope ( int scope_id, Type type ) : void
InstanceFrom ( Type type ) : object
InstanceFrom ( Type type, object constructor_args ) : object
InstanceFromWithScope ( int scope_id, Type type, object constructor_args ) : object
IsSingleton ( Type abstractType ) : bool
IsStackScope ( Type abstractType ) : bool
Register ( Type abstractType, Type concreteType ) : void
RegisterSingletonInstance ( Type singleton, object instance ) : void
Resolve ( Type abstractType ) : Type

Method Details

ContainsInstanceOfSingleton() public méthode

public ContainsInstanceOfSingleton ( Type type ) : bool
type System.Type
Résultat bool

CreateStackScope() public méthode

public CreateStackScope ( int scope_id, Type type, object constructor_args ) : void
scope_id int
type System.Type
constructor_args object
Résultat void

DestroyStackScope() public méthode

public DestroyStackScope ( int scope_id, Type type ) : void
scope_id int
type System.Type
Résultat void

InstanceFrom() public méthode

public InstanceFrom ( Type type ) : object
type System.Type
Résultat object

InstanceFrom() public méthode

public InstanceFrom ( Type type, object constructor_args ) : object
type System.Type
constructor_args object
Résultat object

InstanceFromWithScope() public méthode

public InstanceFromWithScope ( int scope_id, Type type, object constructor_args ) : object
scope_id int
type System.Type
constructor_args object
Résultat object

IsSingleton() public méthode

public IsSingleton ( Type abstractType ) : bool
abstractType System.Type
Résultat bool

IsStackScope() public méthode

public IsStackScope ( Type abstractType ) : bool
abstractType System.Type
Résultat bool

Register() public méthode

public Register ( Type abstractType, Type concreteType ) : void
abstractType System.Type
concreteType System.Type
Résultat void

RegisterSingletonInstance() public méthode

public RegisterSingletonInstance ( Type singleton, object instance ) : void
singleton System.Type
instance object
Résultat void

Resolve() public méthode

public Resolve ( Type abstractType ) : Type
abstractType System.Type
Résultat System.Type