예제 #1
0
 private JsonRpcResult(JsonRpcResponse response, RpcReport report)
 {
     IsCollection = false;
     Responses    = null;
     Reports      = null;
     Response     = response;
     Report       = report;
 }
예제 #2
0
 private JsonRpcResult(IReadOnlyList <JsonRpcResponse> responses, IReadOnlyList <RpcReport> reports)
 {
     IsCollection = true;
     Responses    = responses;
     Reports      = reports;
     Response     = null;
     Report       = default;
 }
예제 #3
0
 public static JsonRpcResult Single(JsonRpcResponse response, RpcReport report)
 => new JsonRpcResult(response, report);