Пример #1
0
        private void StartCore(string[] args)
        {
            var command = String.Empty;

            if (args.Length <= 0)
            {
                var startpoint = _commandHandlerContainer.ResolveFor(command);
                startpoint.Start();
            }
            else
            {
                var rootPath = "C:/Devel/TRDeployment/";
                _directoryImpl.Remove(rootPath);
                command = args[0];
                var startPoint = _commandHandlerContainer.ResolveFor(command);
                if (startPoint != null)
                {
                    startPoint.Start();
                }
            }
        }