Class PhobosActorContextExtensions
User-facing extension methods designed to gain access to the underlying monitoring and tracing infrastructure directly in end-user code, if so desired.
Inheritance
System.Object
PhobosActorContextExtensions
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.Actor
Assembly: Phobos.Actor.dll
Syntax
public static class PhobosActorContextExtensions
Methods
GetInstrumentation(IActorContext)
Get the Phobos instrumentation for this actor so we can access the active tracing and monitoring information directly within our code.
Declaration
public static IPhobosActorContext GetInstrumentation(this IActorContext context)
Parameters
Type | Name | Description |
---|---|---|
IActorContext | context | The current actor context. |
Returns
Type | Description |
---|---|
IPhobosActorContext |