Class InjectionInfo
This class is responsible for analyzing types in terms of injecting dependency, and reflection baking.
Namespace: AlchemyBow.Core.IoC.Elements
Assembly: AlchemyBow.Core.dll
Syntax
public sealed class InjectionInfo
Fields
declaredInjectFields
Reflected declared [Inject] fields of type (null if the type is not decorated with [InjectionTarget]).
Declaration
public readonly FieldInfo[] declaredInjectFields
Field Value
| Type | Description |
|---|---|
| FieldInfo[] |
parentInfo
InjectionInfo for the parent type (or null if there is no parent type).
Declaration
public readonly InjectionInfo parentInfo
Field Value
| Type | Description |
|---|---|
| InjectionInfo |
Methods
GetInjectionInfo(Type)
Analyzes the type for dependency injection information.
Declaration
public static InjectionInfo GetInjectionInfo(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type to analyse. |
Returns
| Type | Description |
|---|---|
| InjectionInfo |
|
Remarks
The results are cached.