示例#1
0
        public static async void TestDynamicAsyncResult()
        {
            var     asyncComplete = Assert.Async();
            dynamic a             = new Bridge918();
            var     result        = (int)await a.test();

            Assert.AreEqual(result, 1);

            asyncComplete();
        }
示例#2
0
文件: N918.cs 项目: TinkerWorX/Bridge
        public static async void TestDynamicAsyncResult()
        {
            var asyncComplete = Assert.Async();
            dynamic a = new Bridge918();
            var result = (int)await a.test();

            Assert.AreEqual(result, 1);

            asyncComplete();
        }