public TextFileController(ITextFileRepository textFileRepository, INameSortRepository nameSortRepository, IMemoryCache memoryCache, ILogger <TextFileController> logger) { _textFileRepository = textFileRepository; _nameSortRepository = nameSortRepository; _memoryCache = memoryCache; _logger = logger; }
public Shabdkosh_UnitTest1() { //arrange fileRepository = new TextFileRepository(); textOperation = new TextOperation(); shabdkoshService = new ShabdkoshService(fileRepository, textOperation); }
public ShabdkoshService(ITextFileRepository fileRepository, ITextOperation textOperation) { _textOperation = textOperation; string text = fileRepository.ReadTextFile(); occuranceOfAWord = _textOperation.Text2DictWordOccurance(text); }
public NumberJumbler(ITextFileRepository textFileRepository) { _textFileRepository = textFileRepository; }
public FindDefinitionByKeywordHandler(ITextFileRepository fileRepository, ITextOperation textOperation) { this.fileRepository = fileRepository ?? throw new ArgumentNullException(nameof(fileRepository)); this._textOperation = textOperation ?? throw new ArgumentNullException(nameof(textOperation)); }
public BoardCoordinatesRepository(ITextFileRepository textFileRepository) { _textFileRepository = textFileRepository; }
public BoardRepository(ITextFileRepository textFileRepository) { _textFileRepository = textFileRepository; }
public TextService(ITextFileRepository textFileRepository, ILogger <TextService> logger) { _textFileRepository = textFileRepository; _logger = logger; }
public PlayerRepository(ITextFileRepository textFileRepository) { _textFileRepository = textFileRepository; }