public Task <string> AddAttachmentHashRequestAsync(string hash) { var addAttachmentHashFunction = new AddAttachmentHashFunction(); addAttachmentHashFunction.Hash = hash; return(ContractHandler.SendRequestAsync(addAttachmentHashFunction)); }
public Task <TransactionReceipt> AddAttachmentHashRequestAndWaitForReceiptAsync(string hash, CancellationTokenSource cancellationToken = null) { var addAttachmentHashFunction = new AddAttachmentHashFunction(); addAttachmentHashFunction.Hash = hash; return(ContractHandler.SendRequestAndWaitForReceiptAsync(addAttachmentHashFunction, cancellationToken)); }
public Task <string> AddAttachmentHashRequestAsyncTest( [PexAssumeUnderTest] GenericContractService target, AddAttachmentHashFunction addAttachmentHashFunction ) { Task <string> result = target.AddAttachmentHashRequestAsync(addAttachmentHashFunction); Assert.IsNotNull(result); return(result); }
public Task <TransactionReceipt> AddAttachmentHashRequestAndWaitForReceiptAsyncTest( [PexAssumeUnderTest] GenericContractService target, AddAttachmentHashFunction addAttachmentHashFunction, CancellationTokenSource cancellationToken ) { Task <TransactionReceipt> result = target.AddAttachmentHashRequestAndWaitForReceiptAsync (addAttachmentHashFunction, cancellationToken); Assert.IsNotNull(result); return(result); }
public Task <TransactionReceipt> AddAttachmentHashRequestAndWaitForReceiptAsync(AddAttachmentHashFunction addAttachmentHashFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(addAttachmentHashFunction, cancellationToken)); }
public Task <string> AddAttachmentHashRequestAsync(AddAttachmentHashFunction addAttachmentHashFunction) { return(ContractHandler.SendRequestAsync(addAttachmentHashFunction)); }