Context resolver that processes context and extracts values from there.
Description
TODO: add description
Static methods
GetTraceId
Gets a trace (correlation) id.
public staticstring GetTraceId(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: string - a trace id or
nullif it is not defined.
GetClient
Gets a client name.
public staticstring GetClient(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: string - a client name or
nullif it is not defined.
GetUser
Gets a reference to user object.
publicstring GetUser(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: string - a user reference or
nullif it is not defined.