Initializes an already created instance and applies properties and initializers to that instance.
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- instance
- Type: SystemObject
The instance to initialize.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when instance is a null reference. |
ArgumentException | Thrown when the supplied instance is not of type ImplementationType. |
Remarks
See Also