We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01ed9f commit 513eda5Copy full SHA for 513eda5
src/WeihanLi.Common/Models/ValidationResult.cs
@@ -18,10 +18,10 @@ public interface IValidationResult
18
Dictionary<string, string[]> Errors { get; }
19
}
20
21
-public sealed class ValidationResult: IValidationResult
+public sealed class ValidationResult : IValidationResult
22
{
23
private Dictionary<string, string[]> _errors = new();
24
-
+
25
/// <inheritdoc cref="IValidationResult"/>
26
public bool Valid { get; set; }
27
@@ -43,7 +43,7 @@ public static ValidationResult Failed(params string[] errors)
43
};
44
return result;
45
46
47
public static ValidationResult Failed(Dictionary<string, string[]> errors)
48
49
var result = new ValidationResult
0 commit comments