示例#1
0
 protected override void OnStart(string[] args)
 {
     var thread = new Thread(() =>
     {
         _starter.OnStart();
     });
 }
示例#2
0
        protected override void OnStart(string[] args)
        {
            var options = _starter.OptionsProvider.Parse(args);
            var thread  = new Thread(() =>
            {
                _starter.OnStart(options);
            });

            thread.Start();
        }