Exemplo n.º 1
0
 internal ValidationEventArgs(JsonSchemaException ex)
 {
     ValidationUtils.ArgumentNotNull(ex, nameof(ex));
     _ex = ex;
 }
Exemplo n.º 2
0
 internal ValidationEventArgs(JsonSchemaException ex)
 {
     ValidationUtils.ArgumentNotNull(ex, nameof(ex));
     _ex = ex;
 }
Exemplo n.º 3
0
 private void OnValidationEvent(JsonSchemaException exception)
 {
     ValidationEventHandler handler = ValidationEventHandler;
     if (handler != null)
     {
         handler(this, new ValidationEventArgs(exception));
     }
     else
     {
         throw exception;
     }
 }