Пример #1
0
 private void OnValidationEvent(JsonSchemaException exception)
 {
     Newtonsoft.Json.Schema.ValidationEventHandler validationEventHandler = this.ValidationEventHandler;
     if (validationEventHandler == null)
     {
         throw exception;
     }
     validationEventHandler(this, new ValidationEventArgs(exception));
 }
Пример #2
0
 private void method_17(JsonSchemaException jsonSchemaException_0)
 {
     Newtonsoft.Json.Schema.ValidationEventHandler handler = this.validationEventHandler_0;
     if (handler == null)
     {
         throw jsonSchemaException_0;
     }
     handler(this, new ValidationEventArgs(jsonSchemaException_0));
 }