Ejemplo n.º 1
0
 public UserInterestTasks(IUserInterestRepository userInterestRepository,
     IInterestScoreCalculator interestScoreCalculator,
     IHighestScoreCalculator highestScoreCalculator,
     ICloseInterestLimiter closeInterestLimiter,
     IMainCategoryScoreCalculator mainCategoryScoreCalculator)
 {
     _userInterestRepository = userInterestRepository;
     _interestScoreCalculator = interestScoreCalculator;
     _highestScoreCalculator = highestScoreCalculator;
     _closeInterestLimiter = closeInterestLimiter;
     _mainCategoryScoreCalculator = mainCategoryScoreCalculator;
 }
 public void Setup()
 {
     _interestScoreCalculator = new InterestScoreCalculator();
 }
 public CalculateRelatedInterestScoreFilter(IInterestScoreCalculator interestScoreCalculator)
 {
     _interestScoreCalculator = interestScoreCalculator;
 }