Class Validator<T>
Inheritance
System.Object
Validator<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Crosser.EdgeNode.Common.Abstractions.Utilities.Validation.Validator`1
Assembly: Crosser.EdgeNode.Common.Abstractions.dll
Syntax
public class Validator<T> : IValidator
Type Parameters
T
|
Constructors
Validator(String, String, T)
Declaration
public Validator(string prefix, string field, T value)
Parameters
System.String
prefix
|
System.String
field
|
T
value
|
Fields
errors
Declaration
protected List<ValidationError> errors
Field Value
System.Collections.Generic.List<ValidationError>
|
field
Declaration
protected string field
Field Value
System.String
|
prefix
Declaration
protected string prefix
Field Value
System.String
|
value
Declaration
protected T value
Field Value
T
|
Properties
FieldPath
Declaration
public string FieldPath { get; }
Property Value
System.String
|
Methods
Errors()
Declaration
public List<ValidationError> Errors()
Returns
System.Collections.Generic.List<ValidationError>
|