Method Allow
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
Allow(QueryGuardAllowlistEntry)
Adds an allowlist entry.
public QueryGuardPolicy Allow(QueryGuardAllowlistEntry entry)
Parameters
entryQueryGuardAllowlistEntryThe entry.
Returns
- QueryGuardPolicy
A new policy.
Exceptions
- ArgumentNullException
entryis null.