Esempio n. 1
0
 public async Task<ShortDO> TestShort(ShortDO param)
 {
     return param;
 }
Esempio n. 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);
        }
Esempio n. 3
0
 public async Task <ShortDO> TestShort(ShortDO param)
 {
     return(param);
 }