Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var runner = new AppRunner();

            runner.Start();
            while (runner.IsRunning)
            {
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            AppRunner runner = new AppRunner(Actions);

            runner.Start();
            while (runner.Active)
            {
                runner.Run();
            }
        }