Home PredicateWithErrorMessage Delegate
PredicateWithErrorMessage Delegate
Cancel

PredicateWithErrorMessage Delegate

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)
ParameterTypeDescription
elementJsonNodeThe element to validate.
errorMessageout stringAn error message.

Returns

true. Override to return another value.