C# Class Robotlegs.Adapters.UnityInjector

Inheritance: IInjector
Exibir arquivo Open project: tekool/silverlight-robotlegs-framework Class Usage Examples

Public Properties

Property Type Description
Container IUnityContainer

Public Methods

Method Description
InjectInto ( object target ) : void
Instantiate ( System type ) : object
MapClass ( System whenAskedFor, System instantiateClass, string named = "" ) : object
MapRule ( System whenAskedFor, object useRule, string named = "" ) : object
MapSingleton ( System whenAskedFor, string named = "" ) : object
MapSingletonOf ( System whenAskedFor, System useSingletonOf, string named = "" ) : object
MapValue ( System whenAskedFor, object useValue, string named = "" ) : object
UnityInjector ( string xmlConfig = null ) : System
Unmap ( System type, string named = "" ) : void

Method Details

InjectInto() public method

public InjectInto ( object target ) : void
target object
return void

Instantiate() public method

public Instantiate ( System type ) : object
type System
return object

MapClass() public method

public MapClass ( System whenAskedFor, System instantiateClass, string named = "" ) : object
whenAskedFor System
instantiateClass System
named string
return object

MapRule() public method

public MapRule ( System whenAskedFor, object useRule, string named = "" ) : object
whenAskedFor System
useRule object
named string
return object

MapSingleton() public method

public MapSingleton ( System whenAskedFor, string named = "" ) : object
whenAskedFor System
named string
return object

MapSingletonOf() public method

public MapSingletonOf ( System whenAskedFor, System useSingletonOf, string named = "" ) : object
whenAskedFor System
useSingletonOf System
named string
return object

MapValue() public method

public MapValue ( System whenAskedFor, object useValue, string named = "" ) : object
whenAskedFor System
useValue object
named string
return object

UnityInjector() public method

public UnityInjector ( string xmlConfig = null ) : System
xmlConfig string
return System

Unmap() public method

public Unmap ( System type, string named = "" ) : void
type System
named string
return void

Property Details

Container public_oe property

public IUnityContainer Container
return IUnityContainer