public async Task<ByteDO> TestByte(ByteDO param) { return param; }
public void TestByte() { ByteDO d = new ByteDO(); Task<ByteDO> t; d.Value = byte.MinValue; t = service.TestByte(d); Assert.IsTrue(t.Wait(1000)); Assert.AreEqual(d.Value, t.Result.Value); d.Value = byte.MaxValue; t = service.TestByte(d); Assert.IsTrue(t.Wait(1000)); Assert.AreEqual(d.Value, t.Result.Value); }
public async Task <ByteDO> TestByte(ByteDO param) { return(param); }