示例#1
0
        /// <summary>
        /// Create an extended console
        /// </summary>
        /// <param name="options"></param>
        public ExtendedConsole(ConsoleOptions options)
        {
            Options           = options;
            _screenLogBuilder = ConfigureConsole();
            var consoleConfiguration = new ExtendedConsoleConfiguration();

            Configuration = consoleConfiguration;
            Configuration.DataContext.SetData <ExtendedConsole>("ExtendedConsole", this);
        }
示例#2
0
 public StaticRowRenderer(ExtendedConsoleConfiguration config, ComponentRenderer componentRenderer, ConsoleOptions options)
 {
     Config            = config;
     ComponentRenderer = componentRenderer;
     ConsoleOptions    = options;
 }