From e3a4229e9fabd985b0d2bc2980f5366bf1c866c3 Mon Sep 17 00:00:00 2001 From: Corniel Nobel Date: Mon, 18 Nov 2024 16:24:48 +0100 Subject: [PATCH] Update src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs Co-authored-by: Laura Kramer --- .../Attributes/DefinedEnumValuesOnlyAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs b/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs index b41e407..fdf6012 100644 --- a/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs +++ b/src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumValuesOnlyAttribute.cs @@ -4,7 +4,7 @@ namespace Qowaiv.Validation.DataAnnotations; /// Validates if the decorated enum has a value that is a defined. [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)] -[Obsolete("Use DefinedAttribute instead.")] +[Obsolete("Use DefinedOnlyAttribute instead.")] public class DefinedEnumValuesOnlyAttribute : ValidationAttribute { /// Initializes a new instance of the class.