Contains data that can be used to initialize a created instance. This data includes the actual
created Instance and the Context information about the created instance.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The InstanceInitializationData type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InstanceInitializationData | Initializes a new instance of the InstanceInitializationData struct. |
Properties
Name | Description | |
---|---|---|
Context | Gets the InitializationContext with contextual information about the
created instance. | |
Instance | Gets the created instance. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
Equals(InstanceInitializationData) | Indicates whether the current object is equal to another object of the same type. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) |
Operators
Name | Description | |
---|---|---|
Equality |
Indicates whether the values of two specified InstanceInitializationData objects are
equal.
| |
Inequality |
Indicates whether the values of two specified InstanceInitializationData objects are
not equal.
|
See Also