PredicateWithErrorMessage Delegate
Namespace: Json.Schema
Inheritance: PredicateWithErrorMessage 🡒 MulticastDelegate 🡒 Delegate 🡒 object
Implemented interfaces:
- ICloneable
- ISerializable
A predicate that also supplies an out error message parameter.
Declaration
1
public delegate bool PredicateWithErrorMessage(JsonNode element, out string errorMessage)
| Parameter | Type | Description |
|---|---|---|
| element | JsonNode | The element to validate. |
| errorMessage | out string | An error message. |
Returns
true. Override to return another value.