Пример #1
0
        public async Task Test_NullUIDispatcher_EvaluateAsync()
        {
            var target = new NullUIDispatcher();

            int res = await target.EvaluateAsync(() => 3);

            res.Should().Be(3);
        }
Пример #2
0
        public void Test_NullUIDispatcher_Evaluate()
        {
            var target = new NullUIDispatcher();

            int res = target.Evaluate(() => 3);

            res.Should().Be(3);
        }
 public NullUIDispatcherTest()
 {
     _NullUIDispatcher = new NullUIDispatcher();
 }
Пример #4
0
        public async Task Test_NullUIDispatcher_EvaluateAsync()
        {
            var target = new NullUIDispatcher();

            int res = await target.EvaluateAsync(() => 3);

            res.Should().Be(3);
        }
Пример #5
0
        public void Test_NullUIDispatcher_Evaluate()
        {
            var target = new NullUIDispatcher();

            int res = target.Evaluate(() => 3);

            res.Should().Be(3);
        }
 public NullUIDispatcherTest()
 {
     _NullUIDispatcher = new NullUIDispatcher();
 }