Exemplo n.º 1
0
        void RunTest()
        {
            var provider = new UwpTestProvider();

            using (var swetest = new SwephTest(provider))
            {
                swetest.RunTest();
                tbResult.Text = provider.OutputContent.ToString();
            }
        }
Exemplo n.º 2
0
        async Task RunTestAsync()
        {
            var provider = new UwpTestProvider();

            using (var swetest = new SwephTest(provider))
            {
                await Task.Run(() => swetest.RunTest());

                tbResult.Text = provider.OutputContent.ToString();
            }
        }