C# Class DependencyInjector, Senior-Design-ALS-Social-Media

Inheritance: MonoBehaviour
Afficher le fichier Open project: TheBenderman/Senior-Design-ALS-Social-Media Class Usage Examples

Méthodes publiques

Свойство Type Description
components object>.Dictionary

Méthodes publiques

Méthode Description
ClearCache ( ) : void
Inject ( UnityEngine.MonoBehaviour target ) : void
InjectObject ( object target ) : void
ReplaceComponent ( newComponent ) : void
Resolve ( ) : T

Private Methods

Méthode Description
CreateComponent ( Type, type ) : object
GetFields ( Type, type ) : FieldInfo[],
GetInjectFields ( Type, type ) : FieldInfo[],
HasInjectAttribute ( MemberInfo, member ) : bool
Resolve ( Type type ) : object

Method Details

ClearCache() public static méthode

public static ClearCache ( ) : void
Résultat void

Inject() public static méthode

public static Inject ( UnityEngine.MonoBehaviour target ) : void
target UnityEngine.MonoBehaviour
Résultat void

InjectObject() public static méthode

public static InjectObject ( object target ) : void
target object
Résultat void

ReplaceComponent() public static méthode

public static ReplaceComponent ( newComponent ) : void
Résultat void

Resolve() public static méthode

public static Resolve ( ) : T
Résultat T

Property Details

components public_oe static_oe property

public static Dictionary components
Résultat object>.Dictionary