Esempio n. 1
0
        public async Task Test_NullUIDispatcher_EvaluateAsync()
        {
            var target = new NullUIDispatcher();

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

            res.Should().Be(3);
        }
Esempio n. 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();
 }
Esempio n. 4
0
        public async Task Test_NullUIDispatcher_EvaluateAsync()
        {
            var target = new NullUIDispatcher();

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

            res.Should().Be(3);
        }
Esempio n. 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();
 }