Class ActorScopeManager
OpenTracing.IScopeManager that relies on extracting the active span from the current Phobos.Tracing.Impl.IActorCellWithTrace.
Inheritance
System.Object
ActorScopeManager
Implements
OpenTracing.IScopeManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phobos.Tracing.Scopes
Assembly: Phobos.Tracing.dll
Syntax
public sealed class ActorScopeManager : IActorScopeManager, IScopeManager
Properties
Active
Declaration
public IScope Active { get; }
Property Value
Type | Description |
---|---|
OpenTracing.IScope |
Methods
Activate(ISpan, Boolean)
Declaration
public IScope Activate(ISpan span, bool finishSpanOnDispose)
Parameters
Type | Name | Description |
---|---|---|
OpenTracing.ISpan | span | |
System.Boolean | finishSpanOnDispose |
Returns
Type | Description |
---|---|
OpenTracing.IScope |
ActivateForAwait(IActorCellWithTrace, ISpan)
Declaration
public IScope ActivateForAwait(IActorCellWithTrace context, ISpan span)
Parameters
Type | Name | Description |
---|---|---|
Phobos.Tracing.Impl.IActorCellWithTrace | context | |
OpenTracing.ISpan | span |
Returns
Type | Description |
---|---|
OpenTracing.IScope |
Implements
OpenTracing.IScopeManager