Click or drag to resize
IClassFactoryRegister Method (Type, Type)
Registers an implementation of an interface. A new instance of the implementation will be created for each call to Resolve.

Namespace: InterfaceFactory
Assembly: InterfaceFactory (in InterfaceFactory.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void Register(
	Type interfaceType,
	Type implementationType
)

Parameters

interfaceType
Type: SystemType
The interface type.
implementationType
Type: SystemType
The concrete type that implements interfaceType.
See Also