public void InitializeTest() { _altemaCharacterNodeParser = new AltemaCharacterNodeParser(); _altemaCharacterJapaneseTextMapper = new AltemaCharacterJapaneseTextMapper(); _altemaCharacterNodeInterpreter = new AltemaCharacterNodeInterpreter(_altemaCharacterJapaneseTextMapper); _characterRatingLogic = new CharacterRatingLogic(_enlirRepository, _altemaCharacterRatingRepository, _altemaCharacterNodeParser, _altemaCharacterNodeInterpreter, _cacheProvider, _altemaCharacterRatingLogicLogger); }
public CharacterRatingLogic(IEnlirRepository enlirRepository, IAltemaCharacterRatingRepository altemaCharacterRatingRepository, IAltemaCharacterNodeParser altemaCharacterNodeParser, IAltemaCharacterNodeInterpreter altemaCharacterNodeInterpreter, ICacheProvider cacheProvider, ILogger <CharacterRatingLogic> logger) { _enlirRepository = enlirRepository; _altemaCharacterRatingRepository = altemaCharacterRatingRepository; _altemaCharacterNodeParser = altemaCharacterNodeParser; _altemaCharacterNodeInterpreter = altemaCharacterNodeInterpreter; _cacheProvider = cacheProvider; _logger = logger; }