Represents a command line command of the Autheco
コード例 #1
0
        protected void check(string[] args, Command2 options)
        {
            ICommandLineParser parser = new CommandLineParser(new CommandLineParserSettings(Console.Error));

            if (!parser.ParseArguments(args, options))
            {
                Environment.Exit(1);
            }
        }
コード例 #2
0
ファイル: Command2.cs プロジェクト: cental/PatternSim
 protected void check(string[] args, Command2 options)
 {
     ICommandLineParser parser = new CommandLineParser(new CommandLineParserSettings(Console.Error));
     if (!parser.ParseArguments(args, options)) Environment.Exit(1);
 }