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