We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72a69d commit 306aa64Copy full SHA for 306aa64
1 file changed
src/IGLib.Core/Console/Validation/IValidator.cs
@@ -0,0 +1,16 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Text;
4
+
5
+namespace IGLib
6
+{
7
8
+ /// <summary>Represent an object that performs validation of the value of the specified type (<typeparamref name="T"/>)
9
+ /// and stores validation results in a <see cref="ValidationResults"/> objects.</summary>
10
+ /// <typeparam name="T">Type of values that the currentt validator validates.</typeparam>
11
+ public interface IValidator<in T>
12
+ {
13
+ void Validate(T value, ValidationResults results);
14
+ }
15
16
+}
0 commit comments