Table of Contents

Property Current

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

Current

Gets the session for the current asynchronous flow, or null when no scope is open.

QueryGuardSession? Current { get; }

Property Value

QueryGuardSession

Remarks

null means capture nothing. QueryGuard stays silent rather than guessing which scope a command belongs to.