Class ValidationResult
Provides return value of a validation process.
Inheritance
System.Object
ValidationResult
Namespace: Vortex.Connector.ValueValidation
Assembly: Vortex.Connector.dll
Syntax
public class ValidationResult
Constructors
ValidationResult(Boolean, String)
Creates new instance of ValidationResult
Declaration
public ValidationResult(bool isValid, string validationErrorTip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | Result of the validation is valid when true. |
System.String | validationErrorTip | Validation tip. |
Properties
IsValid
Gets resutl of the validation. When true validation is valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ValidationErrorTip
Gets infomation about the validation errror.
Declaration
public string ValidationErrorTip { get; }
Property Value
Type | Description |
---|---|
System.String |