Example #1
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;
        }
Example #2
0
 public WpfPlainTextRenderService()
 {
     streamRenderService = new WpfConsoleTextRenderService();
 }
 public WpfMarkdownRenderService(IMarkdownService markdown)
 {
     this.markdown         = markdown;
     fallbackRenderService = new WpfPlainTextRenderService();
 }