public override string ReadLine() { if (externalUI == null) { throw new InvalidOperationException("Unable to ReadLine from host in headless session"); } string result = externalUI.ReadLine(); SendToSubscribers(s => s.ReadFromHost(result)); return(result); }
public override string ReadLine() { return(_ui.ReadLine()); }