Skip to content

Commit

Permalink
Update src/Qowaiv.Validation.DataAnnotations/Attributes/DefinedEnumVa…
Browse files Browse the repository at this point in the history
…luesOnlyAttribute.cs

Co-authored-by: Laura Kramer <[email protected]>
  • Loading branch information
Corniel and LauraXiulan authored Nov 18, 2024
1 parent 016d341 commit e3a4229
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Qowaiv.Validation.DataAnnotations;

/// <summary>Validates if the decorated enum has a value that is a defined.</summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
[Obsolete("Use DefinedAttribute<TEnum> instead.")]
[Obsolete("Use DefinedOnlyAttribute<TEnum> instead.")]
public class DefinedEnumValuesOnlyAttribute : ValidationAttribute
{
/// <summary>Initializes a new instance of the <see cref="DefinedEnumValuesOnlyAttribute"/> class.</summary>
Expand Down

0 comments on commit e3a4229

Please sign in to comment.