From 05f83ed7ffdb49ea90cf66618833d0f9a8180052 Mon Sep 17 00:00:00 2001 From: prozolic <42107886+prozolic@users.noreply.github.com> Date: Sun, 12 Jan 2025 12:51:12 +0900 Subject: [PATCH] Update README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52b88be..f2a4a95 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ This library is distributed via NuGet. > PM> Install-Package [VariantEnum](https://www.nuget.org/packages/VariantEnum/) - How to use --- @@ -437,6 +436,16 @@ public abstract record IpAddr : +### Ignore automatic generation + +If automatic generation is to be ignored, you assign the `[IgnoreVariant]` attribute. + +```csharp +[IgnoreVariant] +public enum TestVariant +{} +``` + Auto-generated API ---