Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
RegisterInstance<(Of <(TInterface>)>) Method (name, instance)
NamespacesGenesyslab.Desktop.Infrastructure.DependencyInjectionIObjectContainerRegisterInstance<(Of <(TInterface>)>)(String, TInterface)
Register an instance with the container.
Declaration Syntax
C#Visual BasicVisual C++
IObjectContainer RegisterInstance<TInterface>(
	string name,
	TInterface instance
)
Function RegisterInstance(Of TInterface) ( _
	name As String, _
	instance As TInterface _
) As IObjectContainer
generic<typename TInterface>
IObjectContainer^ RegisterInstance(
	String^ name, 
	TInterface instance
)
Generic Template Parameters
TInterface
Type of instance to register (may be an implemented interface instead of the full type).
Parameters
name (String)
Name for registration.
instance (TInterface)
Object to returned.
Return Value
The ObjectContainer object that this method was called on.

Assembly: Genesyslab.Desktop.Infrastructure (Module: Genesyslab.Desktop.Infrastructure) Version: 8.0.2.15 (8.0.002.15)