Provides data for and interaction with the
ExpressionBuilt event of
the Container. An observer can change the
Expression property to change the component that is currently
being built.
Inheritance Hierarchy
SystemEventArgs
SimpleInjectorExpressionBuiltEventArgs
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The ExpressionBuiltEventArgs type exposes the following members.
Properties
Name | Description | |
---|---|---|
Expression | Gets or sets the currently registered
Expression. | |
KnownRelationships |
Gets the collection of currently known relationships. This information is used by the Diagnostics
Debug View. Change the contents of this collection to represent the changes made to the
Expression property (if any). This allows
the Diagnostics Debug View to analyze those new relationships as well.
| |
Lifestyle | Gets or sets the current lifestyle of the registration. | |
RegisteredServiceType | Gets the registered service type that is currently requested. |
See Also