Result generated by schema validation
More...
|
string | Path [get, set] |
|
ValidationResultType | Type [get, set] |
|
string | Code [get, set] |
|
string | Message [get, set] |
|
object | Expected [get, set] |
|
object | Actual [get, set] |
|
Result generated by schema validation
◆ ValidationResult() [1/2]
PipServices3.Commons.Validate.ValidationResult.ValidationResult |
( |
| ) |
|
Creates a new instance of validation result.
◆ ValidationResult() [2/2]
PipServices3.Commons.Validate.ValidationResult.ValidationResult |
( |
string |
path, |
|
|
ValidationResultType |
type, |
|
|
string |
code, |
|
|
string |
message, |
|
|
object |
expected, |
|
|
object |
actual |
|
) |
| |
Creates a new instance of validation result and sets its values.
- Parameters
-
path | a dot notation path of the validated element. |
type | a type of the validation result: Information, Warning, or Error. |
code | an error code. |
message | a human readable message. |
expected | an value expected by schema validation. |
actual | an actual value found by schema validation. |
The documentation for this class was generated from the following file:
- src/Validate/ValidationResult.cs