Пример #1
0
        static void Main(string[] args)
        {
            CommandLineInterface CLI = new CommandLineInterface();

            CLI.Intro();
            CLI.Run();
        }
Пример #2
0
        async static void Run()
        {
            var userManager = new UserManager();
            var taskManager = new TaskManager(userManager);
            var eventHub    = EventHub.GetInstance();
            var controller  = new MainController(taskManager, userManager, eventHub);
            var ui          = new CommandLineInterface(controller, eventHub);

            ui.Run();
        }
Пример #3
0
 public static void Main(string[] args)
 {
     CommandLineInterface.Run(args);
 }
Пример #4
0
        static void Main(string[] args)
        {
            CommandLineInterface cli = new CommandLineInterface();

            cli.Run();
        }