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(); }
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); } #if DEBUG System.Console.WriteLine(_strings.PressToEnd); System.Console.ReadLine(); #endif }