コード例 #1
0
        public Task <TransactionReceipt> RespondRequestAndWaitForReceiptAsync(string patient, BigInteger status, CancellationTokenSource cancellationToken = null)
        {
            var respondFunction = new RespondFunction();

            respondFunction.Patient = patient;
            respondFunction.Status  = status;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(respondFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> RespondRequestAsync(string patient, BigInteger status)
        {
            var respondFunction = new RespondFunction();

            respondFunction.Patient = patient;
            respondFunction.Status  = status;

            return(ContractHandler.SendRequestAsync(respondFunction));
        }
コード例 #3
0
 public Task <TransactionReceipt> RespondRequestAndWaitForReceiptAsync(RespondFunction respondFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(respondFunction, cancellationToken));
 }
コード例 #4
0
 public Task <string> RespondRequestAsync(RespondFunction respondFunction)
 {
     return(ContractHandler.SendRequestAsync(respondFunction));
 }