StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Properties | List of all members
Inject Class Reference

The [Inject] attribute marks a setter Injection point. More...

Inheritance diagram for Inject:

Public Member Functions

 Inject (object n)
 

Properties

object name [get, set]
 

Detailed Description

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;}

The documentation for this class was generated from the following file: