public ActionManagementService(
            IActionFactoryProvider provider,
            ILogService logger)
        {
            parser = new ActionUrlParser();

            this.provider = provider;
            this.logger   = logger;
        }
Beispiel #2
0
        public WpfViewService(IWpfRenderService renderer, IFactory <IInputHistoryService> historyFactory)
        {
            this.renderer       = renderer;
            this.historyFactory = historyFactory;
            actionParser        = new ActionUrlParser();

            currentPrompt    = DEFAULT_PROMPT;
            currentTitle     = DEFAULT_TITLE;
            WorkingDirectory = Environment.CurrentDirectory ?? string.Empty;
        }