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