Click or drag to resize
IClassFactoryRegisterInstanceTI Method (TI)
Registers an implementation of an interface. The instance passed across will be returned on each call to Resolve.

Namespace: InterfaceFactory
Assembly: InterfaceFactory (in InterfaceFactory.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void RegisterInstance<TI>(
	TI instance
)

Parameters

instance
Type: TI
An object whose type implements TI.

Type Parameters

TI
The interface type.
See Also