Skip to content

Commit

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

Co-authored-by: Laura Kramer <[email protected]>
  • Loading branch information
Corniel and LauraXiulan authored Nov 18, 2024
1 parent d1f9639 commit 096b20d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public UniqueAttribute(Type? comparer)
/// <summary>Gets and set a custom <see cref="IEqualityComparer"/>.</summary>
public IEqualityComparer<TValue> EqualityComparer { get; }

/// <summary>True if all items in the collection are distinct, otherwise false.</summary>
/// <summary>True if null or all items in the collection are distinct, otherwise false.</summary>
[Pure]
public override bool IsValid(object? value)
{
Expand Down

0 comments on commit 096b20d

Please sign in to comment.