Пример #1
0
        static void Main(string[] args)
        {
            try
            {
                options = new LaunchOptions(args);
            }
            catch (OptionException e)
            {
                Console.WriteLine(e.Message);
                Console.WriteLine("Try `meep --help' for more information.");
                return;
            }

            if (Environment.UserInteractive)
            {
                InteractiveMain(options);
            }
            else
            {
                CreateHostBuilder(args).Build().Run();
            }
        }
Пример #2
0
 public PipelineService(Bootstrapper bootstrapper, LaunchOptions options)
 {
     this.Bootstrapper = bootstrapper;
     this.Options      = options;
     this.Bootstrapper.PipelineRefreshed += Bootstrapper_PipelineRefreshed;
 }