ExpressionBuiltEventArgs Class

Simple Injector
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

SystemObject
  SystemEventArgs
    SimpleInjectorExpressionBuiltEventArgs

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax

public class ExpressionBuiltEventArgs : EventArgs

The ExpressionBuiltEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyExpression
Gets or sets the currently registered Expression.
Public propertyKnownRelationships
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.
Public propertyLifestyle
Gets or sets the current lifestyle of the registration.
Public propertyRegisteredServiceType
Gets the registered service type that is currently requested.
Top
See Also

Reference