private void BtnStartClick(object sender, RoutedEventArgs e) { btnStart.IsEnabled = false; btnStop.IsEnabled = true; tbConsoleOut.Clear(); _buildController.StartBuild(_sharpDoxConfig, true); }
public void Start(string[] args) { _arguments = new ConsoleArguments(args); if (_arguments["config"] != null) { _configController.Load(_arguments["config"]); _buildController = _builderFactory(); _buildMessenger.OnBuildMessage += System.Console.WriteLine; _buildController.StartBuild(_configController.GetConfigSection<SharpDoxConfig>(), false); } else { System.Console.WriteLine(_strings.ConfigMissing + " -config " + _strings.Path); } System.Console.WriteLine(_strings.PressToEnd); System.Console.ReadLine(); }
public void Start(string[] args) { _arguments = new ConsoleArguments(args); if (_arguments["config"] != null) { _configController.Load(_arguments["config"]); _buildController = _builderFactory(); _buildMessenger.OnBuildMessage += System.Console.WriteLine; _buildController.StartBuild(_configController.GetConfigSection <ICoreConfigSection>(), false); } else { System.Console.WriteLine(_strings.ConfigMissing + " -config " + _strings.Path); } System.Console.WriteLine(_strings.PressToEnd); System.Console.ReadLine(); }