예제 #1
0
 public async Task<ShortDO> TestShort(ShortDO param)
 {
     return param;
 }
예제 #2
0
        public void TestShort()
        {
            ShortDO d = new ShortDO();
            Task<ShortDO> t;

            d.Value = short.MinValue;
            t = service.TestShort(d);
            Assert.IsTrue(t.Wait(1000));
            Assert.AreEqual(d.Value, t.Result.Value);

            d.Value = short.MaxValue;
            t = service.TestShort(d);
            Assert.IsTrue(t.Wait(1000));
            Assert.AreEqual(d.Value, t.Result.Value);
        }
예제 #3
0
 public async Task <ShortDO> TestShort(ShortDO param)
 {
     return(param);
 }