public DbgEngineHostUserInterface(IDebugger debugger, ConsoleColorProxy consoleColors, PSHost host) { _debugger = debugger; _consoleColors = consoleColors; _host = host; _rawUi = new DbgEngineRawUserInterface(); }
public DbgPsHost(IDebugger debugger, ExitManager exitManager) { _exitManager = exitManager; var consoleColors = new ConsoleColorProxy { ErrorForegroundColor = ConsoleColor.Red, ErrorBackgroundColor = ConsoleColor.Black, WarningForegroundColor = ConsoleColor.Yellow, WarningBackgroundColor = ConsoleColor.Black, DebugForegroundColor = ConsoleColor.Yellow, DebugBackgroundColor = ConsoleColor.Black, VerboseForegroundColor = ConsoleColor.Yellow, VerboseBackgroundColor = ConsoleColor.Black, ProgressForegroundColor = ConsoleColor.Yellow, ProgressBackgroundColor = ConsoleColor.DarkCyan, }; PrivateData = new PSObject(consoleColors); _dbgEngineHostUserInterface = new DbgEngineHostUserInterface(debugger, consoleColors, this); }