IClassFactory Interface |
Namespace: InterfaceFactory
The IClassFactory type exposes the following members.
Name | Description | |
---|---|---|
CreateChildFactory |
Returns a copy of the factory.
| |
Register(Type, Type) |
Registers an implementation of an interface. A new instance of the implementation will
be created for each call to Resolve.
| |
RegisterT(FuncT) |
Registers a method to call to create new instances of T.
| |
RegisterTI, TM |
Registers an implementation of an interface. A new instance of the implementation will
be created for each call to Resolve.
| |
RegisterInstance(Type, Object) |
Registers an implementation of an interface. The instance passed across will be returned
on each call to Resolve.
| |
RegisterInstanceTI(TI) |
Registers an implementation of an interface. The instance passed across will be returned
on each call to Resolve.
| |
Resolve(Type) |
Returns an object that implements the interface passed across.
| |
ResolveT |
Returns an object that implements the interface passed across.
|