public ValidResponse(IRegexBookEnd acceptedInput, string[] promptLines, IValidInputResponseAction <T> responseAction, IWriter writer, IReader reader) { _acceptedInput = acceptedInput; _promptLines = promptLines; _responseAction = responseAction; _writer = writer; _reader = reader; }
public ValidResponse(IRegexBookEnd acceptedInput, string[] promptLines, IValidInputResponseAction <T> responseAction) : this(acceptedInput, promptLines, responseAction, new ConsoleWriterBookEnd(), new ConsoleReaderBookEnd()) { }