ResolveRequestContext Properties |
The ResolveRequestContext type exposes the following members.
Name | Description | |
---|---|---|
ActivationScope |
Gets or sets the lifetime scope that will be used for the activation of any components later in the pipeline.
Avoid resolving instances directly from this scope; they will not be traced as part of the same operation.
| |
ComponentRegistry |
Gets the associated services with the components that provide them.
| |
DecoratorContext |
Gets or sets the active decorator context for the request.
| |
DecoratorTarget |
Gets the target registration for decorator requests.
| |
DiagnosticSource |
Gets the DiagnosticListener to which trace events should be written.
| |
Instance |
Gets or sets the instance that will be returned as the result of the resolve request.
On the way back up the pipeline, after calling next(ctxt), this value will be populated
with the resolved instance. Check the NewInstanceActivated property to determine
whether the object here was a newly activated instance, or a shared instance previously activated.
| |
NewInstanceActivated |
Gets a value indicating whether the resolved Instance is a new instance of a component has been activated during this request,
or an existing shared instance that has been retrieved.
| |
Operation |
Gets a reference to the owning resolve operation (which might emcompass multiple nested requests).
| |
Parameters |
Gets or sets the current resolve parameters. These can be changed using the ChangeParameters(IEnumerableParameter) method.
| |
PhaseReached |
Gets or sets the phase of the pipeline reached by this request.
| |
Registration |
Gets the component registration that is being resolved in the current request.
| |
Service |
Gets the service that is being resolved in the current request.
|