Class GuardExtensions
- Namespace
- Executables.Guards
- Assembly
- executables.dll
Extension methods for composing guards.
public static class GuardExtensions
- Inheritance
-
GuardExtensions
- Inherited Members
Methods
Compose(Guard, Guard)
Composes two guards with logical AND semantics. Access is granted only if both guards grant access.
[Pure]
public static Guard Compose(this Guard first, Guard second)
Parameters
Returns
- Guard
A composite guard that combines both checks.
Exceptions
- ArgumentNullException
secondis null.