/// <summary> /// Creates a new instance of the ConsoleServicePSHostUserInterface /// class with the given IConsoleHost implementation. /// </summary> public ConsoleServicePSHostUserInterface() { this.rawUserInterface = new ConsoleServicePSHostRawUserInterface(); }
/// <summary> /// Creates a new instance of the ConsoleServicePSHostUserInterface /// class with the given IConsoleHost implementation. /// </summary> /// <param name="consoleHost"> /// The IConsoleHost that will be used to perform host actions for this class. /// </param> public ConsoleServicePSHostUserInterface(IConsoleHost consoleHost) { this.consoleHost = consoleHost; this.rawUserInterface = new ConsoleServicePSHostRawUserInterface(consoleHost); }