From 4dab2388030de9b44494b19b3592d920fb6e1364 Mon Sep 17 00:00:00 2001 From: Sebastian Szvetecz Date: Sun, 16 Aug 2026 13:07:32 +0200 Subject: [PATCH] Add documentation for Guard.IsDefined enum validation --- docs/diagnostics/Guard.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/diagnostics/Guard.md b/docs/diagnostics/Guard.md index b47839be..95f0ccc1 100644 --- a/docs/diagnostics/Guard.md +++ b/docs/diagnostics/Guard.md @@ -106,6 +106,12 @@ There are dozens of different APIs and overloads in the `Guard` class. The follo | `IsNotNullOrEmpty(string, string)` | void | Asserts that the input string instance must not be null or empty | | `IsNotNullOrWhiteSpace(string, string)` | void | Asserts that the input string instance must not be null or whitespace | +### Enums + +| Methods | Return type | Description | +|-------------------------------|-------------|-------------| +| `IsDefined(T, string)` | void | Asserts that the input enum value is defined in the enum type | + ### Collections | Methods | Return type | Description |