public Session(ISpawnable spawnable, string line_terminator) { _spawnable = spawnable; LineTerminator = line_terminator; Expect = new ExpectCommands(this); Send = new SendCommands(this); }
public Session(ISpawnable spawnable, string line_terminator, CancellationToken ct) { _spawnable = spawnable; LineTerminator = line_terminator; Expect = new ExpectCommands(this); Send = new SendCommands(this); Ct = ct; }