public GetWord( ApplicationSettings applicationSettings, IWordDictionaryService wordDictionaryService, IRandomNumberGenerator randomNumberGenerator) { this.applicationSettings = applicationSettings; this.wordDictionaryService = wordDictionaryService; this.randomNumberGenerator = randomNumberGenerator; }
public WordLadderApp(IInputValidator inputValidator, IWordDictionaryService wordDictionaryService, IWordLadderSolver wordladderSolver, IOpenFileHelper openFileHelper, IFileWrapper fileWrapper) { _inputValidator = inputValidator; _wordDictionaryService = wordDictionaryService; _wordladderSolver = wordladderSolver; _openFileHelper = openFileHelper; _fileWrapper = fileWrapper; }
public WordLadderAppTests() { _inputValidator = Substitute.For <IInputValidator>(); _wordDictionaryService = Substitute.For <IWordDictionaryService>(); _wordLadderSolver = Substitute.For <IWordLadderSolver>(); _openFileHelper = Substitute.For <IOpenFileHelper>(); _fileWrapper = Substitute.For <IFileWrapper>(); _sut = new WordLadderApp(_inputValidator, _wordDictionaryService, _wordLadderSolver, _openFileHelper, _fileWrapper); }
public WordDictionaryTests() { _dictionaryPreprocessService = Substitute.For <IDictionaryPreprocessService>(); _fileWrapper = Substitute.For <IFileWrapper>(); _sut = new WordDictionaryService(_fileWrapper, _dictionaryPreprocessService); }
public HomeController(IWordDictionaryService WordDictionaryService) { _WordDictionaryService = WordDictionaryService; }
public TestController(IWordDictionaryService service, ILoggerManager logger) { _service = service; _logger = logger; }
public DictionariesController(IWordDictionaryService service, ILoggerManager logger, IMapper mapper) { _service = service; _logger = logger; _mapper = mapper; }