public ExtendedConsoleConfiguration() { MaxHistoryLines = DefaultMaxHistoryLines; StaticRows = new List <StaticRowConfig>(); CustomComponents = new Dictionary <string, Type>(); LogHistoryContainer = new LogHistoryContainer(RowLocation.Top, 0); WindowFrame = WindowFrame.None; RedrawTimeSpan = TimeSpan.FromMilliseconds(100); DataContext = new ConsoleDataContext(); HelpScreen = new DefaultHelpScreen(); ColorPalette = new ColorPalette(); }
/// <summary> /// Enable the default help screen /// </summary> /// <param name="foregroundColor"></param> /// <param name="backgroundColor"></param> public void SetHelpScreen(Enum foregroundColor, Enum backgroundColor) { HelpScreen = new DefaultHelpScreen(foregroundColor, backgroundColor); }
/// <summary> /// Enable the default help screen /// </summary> /// <param name="foregroundColor"></param> /// <param name="backgroundColor"></param> public void SetHelpScreen(Color foregroundColor, Color backgroundColor) { HelpScreen = new DefaultHelpScreen(foregroundColor, backgroundColor); }