C# Class strange.extensions.injector.impl.Injector

Inheritance: IInjector
Afficher le fichier Open project: dshook/centauri-tac Class Usage Examples

Méthodes publiques

Méthode Description
Inject ( object target ) : object
Inject ( object target, bool attemptConstructorInjection ) : object
Injector ( ) : System
Instantiate ( IInjectionBinding binding ) : object
Uninject ( object target ) : void

Private Methods

Méthode Description
armorAgainstInfiniteLoops ( IInjectionBinding binding ) : void
failIf ( bool condition, string message, InjectionExceptionType type ) : void
failIf ( bool condition, string message, InjectionExceptionType type, Type t, object name ) : void
failIf ( bool condition, string message, InjectionExceptionType type, Type t, object name, object target ) : void
failIf ( bool condition, string message, InjectionExceptionType type, Type t, object name, object target, PropertyInfo propertyInfo ) : void
getValueInjection ( Type t, object name, object target, PropertyInfo propertyInfo ) : object
injectValueIntoPoint ( object value, object target, PropertyInfo point ) : void
performConstructorInjection ( object target, IReflectedClass reflection ) : object
performSetterInjection ( object target, IReflectedClass reflection ) : void
performUninjection ( object target, IReflectedClass reflection ) : void
postInject ( object target, IReflectedClass reflection ) : void

Method Details

Inject() public méthode

public Inject ( object target ) : object
target object
Résultat object

Inject() public méthode

public Inject ( object target, bool attemptConstructorInjection ) : object
target object
attemptConstructorInjection bool
Résultat object

Injector() public méthode

public Injector ( ) : System
Résultat System

Instantiate() public méthode

public Instantiate ( IInjectionBinding binding ) : object
binding IInjectionBinding
Résultat object

Uninject() public méthode

public Uninject ( object target ) : void
target object
Résultat void