Exemplo n.º 1
0
        public Task <ushort> TotalWidthQueryAsync(ushort returnValue1, ushort returnValue2, BlockParameter blockParameter = null)
        {
            var totalWidthFunction = new TotalWidthFunction();

            totalWidthFunction.ReturnValue1 = returnValue1;
            totalWidthFunction.ReturnValue2 = returnValue2;

            return(ContractHandler.QueryAsync <TotalWidthFunction, ushort>(totalWidthFunction, blockParameter));
        }
Exemplo n.º 2
0
 public Task <ushort> TotalWidthQueryAsync(TotalWidthFunction totalWidthFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <TotalWidthFunction, ushort>(totalWidthFunction, blockParameter));
 }