Table of Contents

Interface IAuditContextAccessor

Namespace
Tharga.Team.Service.Audit
Assembly
Tharga.Team.Service.dll

Declares the actor for audited work that has no authenticated HTTP caller.

public interface IAuditContextAccessor

Properties

Current

The actor in effect for the current async flow, or null.

AuditActor Current { get; }

Property Value

AuditActor

Methods

Push(AuditActor)

Makes actor the actor for the current async flow until the returned scope is disposed, then restores whatever was in effect before.

IDisposable Push(AuditActor actor)

Parameters

actor AuditActor

Returns

IDisposable