コード例 #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));
 }