| Interface | Description |
|---|---|
| IocProvider<T> |
A provider to CruxIocContainer.
|
| RuntimeIoCContainer |
| Class | Description |
|---|---|
| IocContainer | |
| IoCResource.NoClass | |
| IoCResource.NoProvider |
| Enum | Description |
|---|---|
| Inject.Scope | Deprecated
Use
IoCResource.Scope instead |
| IoCResource.Scope |
| Exception | Description |
|---|---|
| IoCContainerException |
| Annotation Type | Description |
|---|---|
| Inject |
This annotation can be used to bind fields to objects according with CruxIocContainer
configurations.
|
| IoCResource |
This annotation can be used to bind a type to CruxIocContainer
For example, see the following class:
@IoCResource
public class MyClass
{
@Inject
private MyService service;
}
|
Copyright © 2015. All rights reserved.