![]() |
StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
The [Inject] attribute marks a setter Injection point.
More...
Public Member Functions | |
| Inject (object n) | |
Properties | |
| object | name [get, set] |
The [Inject] attribute marks a setter Injection point.
Example:
[Inject]
public IMyInterface myInstance{get;set;}
Inject tags can also specify a name:
[Inject(SomeEnum.VALUE)]
public IMyInterface myInstance{get;set;}
1.8.4