示例#1
0
        public void Start(Options options)
        {
            Harmonize.Options harmonizeOptions = new Harmonize.Options(new IModulePattern[] { new ModulePattern { Path = ".", Pattern = options.ModulePattern } });

            Instrumentation.Start(options.Console, options.LogPath, options.TraceNames);

            _harmonizer = new Harmonize.Harmonizer(harmonizeOptions);

            _harmonizer.Start();
        }
示例#2
0
文件: Host.cs 项目: Zananok/Harmonize
        protected override void OnStart(string[] args)
        {
            base.OnStart(args);

            Options options = new Options();

            CommandLine.Parser.Default.ParseArguments(args, options);

            _controller = new Controller();

            _controller.Start(options);
        }