Inheritance: AbstractApplicationRunner
コード例 #1
0
ファイル: Main.cs プロジェクト: posaunehm/Codersation
        public static void Main(string[] args)
        {
            var help = ConsoleAppHelper.ListHelpContents();

            var helpCommands = help.Where(content => ! content.Ignored).Select(content => content.Command);

            var app = new ConsoleAppRunner(
                BuildKernel(args, help),
                helpCommands.Concat(helpCommands.Select(command => "help " + command))
            );
            app.Run();
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: springaki/Codersation
        public static void Main(string[] args)
        {
            var help = ConsoleAppHelper.ListHelpContents();

            var helpCommands = help.Where(content => !content.Ignored).Select(content => content.Command);

            var app = new ConsoleAppRunner(
                BuildKernel(args, help),
                helpCommands.Concat(helpCommands.Select(command => "help " + command))
                );

            app.Run();
        }