Click or drag to resize

IResolveOperation Interface

An IResolveOperation is a component context that sequences and monitors the multiple activations that go into producing a single requested object graph.

Namespace:  Autofac.Core.Resolving
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public interface IResolveOperation

The IResolveOperation type exposes the following members.

Properties
  NameDescription
Public propertyActiveRequestContext
Gets the active resolve request.
Public propertyCurrentScope
Gets the current lifetime scope of the operation; based on the most recently executed request.
Public propertyDiagnosticSource
Gets the DiagnosticListener for the operation.
Public propertyInitiatingRequest
Gets the ResolveRequest that initiated the operation. Other nested requests may have been issued as a result of this one.
Public propertyInProgressRequests
Gets the set of all in-progress requests on the request stack.
Public propertyRequestDepth
Gets the current request depth.
Top
Methods
  NameDescription
Public methodGetOrCreateInstance
Get or create and share an instance of the requested service in the currentOperationScope.
Top
Events
  NameDescription
Public eventCurrentOperationEnding
Raised when the entire operation is complete.
Public eventResolveRequestBeginning
Raised when a resolve request starts.
Top
See Also