Skip to content

Commit 4d02fbf

Browse files
authored
Merge pull request #234 from MADE-Apps/feature/fluentvalidation
Added IValidator support to constructor for FluentValidatorCollection
2 parents ea7492d + e398d58 commit 4d02fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MADE.Data.Validation.FluentValidation/FluentValidatorCollection{T}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public FluentValidatorCollection()
2323
/// <summary>Initializes a new instance of the <see cref="FluentValidatorCollection{T}"/> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.</summary>
2424
/// <param name="collection">The collection whose elements are copied to the new list.</param>
2525
/// <exception cref="T:System.ArgumentNullException"><paramref name="collection">collection</paramref> is null.</exception>
26-
public FluentValidatorCollection(IEnumerable<AbstractValidator<T>> collection)
26+
public FluentValidatorCollection(IEnumerable<IValidator<T>> collection)
2727
: base(collection)
2828
{
2929
}

0 commit comments

Comments
 (0)