Esempio n. 1
0
 private  static int Run(Options options)
 {
     var program = new Program(options);
     return program.Run();
 }
Esempio n. 2
0
 public Program(Options options)
 {
     _options = options;
 }
Esempio n. 3
0
        private  static int Run(Options options)
        {
            // Don't display the banner until after the command line parser has
            // validated the arguments, because when the command line arguments are
            // invalid, the command line parse itself displays an banner. In that case,
            // if we displayed our banner first, you would see two of them.
            Banner();

            var program = new Program(options);
            return program.Run();
        }