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 | List of all members
strange.framework.api.IInstanceProvider Interface Reference

Provides an instance of the specified Type When all you need is a new instance, use this instead of IInjectionBinder. More...

Inheritance diagram for strange.framework.api.IInstanceProvider:
strange.extensions.dispatcher.eventdispatcher.impl.EventInstanceProvider strange.extensions.injector.api.IInjectionBinder strange.extensions.injector.api.ICrossContextInjectionBinder strange.extensions.injector.impl.InjectionBinder strange.extensions.injector.impl.CrossContextInjectionBinder strange.extensions.injector.impl.CrossContextInjectionBinder

Public Member Functions

GetInstance< T > ()
 Retrieve an Instance based on the key. More...
 
object GetInstance (Type key)
 Retrieve an Instance based on the key. More...
 

Detailed Description

Provides an instance of the specified Type When all you need is a new instance, use this instead of IInjectionBinder.

Member Function Documentation

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.


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