StrangeIoC
0.6.0
The IoC/Binding Framework for Unity3D and C#
|
Provides an instance of the specified Type When all you need is a new instance, use this instead of IInjectionBinder. More...
Public Member Functions | |
T | GetInstance< T > () |
Retrieve an Instance based on the key. More... | |
object | GetInstance (Type key) |
Retrieve an Instance based on the key. More... | |
Provides an instance of the specified Type When all you need is a new instance, use this instead of IInjectionBinder.
object strange.framework.api.IInstanceProvider.GetInstance | ( | Type | key) |
Retrieve an Instance based on the key.
ex. injectionBinder.Get(typeof(ISomeInterface));
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventInstanceProvider, and strange.extensions.injector.impl.InjectionBinder.
Retrieve an Instance based on the key.
ex. injectionBinder.Get<cISomeInterface>();
Implemented in strange.extensions.dispatcher.eventdispatcher.impl.EventInstanceProvider, and strange.extensions.injector.impl.InjectionBinder.