Class AdminAuditFilter

Assembly: redb.Tsak.Core.dll

Cross-cutting filter that emits an for every action
marked with . Runs at very high priority
(Order = -1000) so audit metadata is captured before any other filter can mutate it.

public sealed class AdminAuditFilter : IControllerActionFilter

Inheritance

Object→AdminAuditFilter

Implements

Properties

Order

Lower values run first in , last in .

public int Order { get; }

Methods

AfterAsync(ControllerActionContext, CancellationToken)

Invoked after the action method completes (whether success or failure).

public Task AfterAsync(ControllerActionContext context, CancellationToken ct)

BeforeAsync(ControllerActionContext, CancellationToken)

Invoked before the action method is called.

public Task BeforeAsync(ControllerActionContext context, CancellationToken ct)

Constructors