Пример #1
0
 public ContestLearnerStarter(
     IMapper mapper,
     IContestRepository contestRepository,
     IContestLearnerRepository contestLearnerRepository,
     IMicrosoftProfileRepository microsoftProfileRepository,
     IContestLearnerStartValueUpdater contestLearnerStartValueUpdater,
     IContestLearnerCurrentValueUpdater contestLearnerCurrentValueUpdater,
     IExperiencePointsCalculator experiencePointsCalculator
     )
 {
     _mapper =
         mapper;
     _contestRepository =
         contestRepository;
     _contestLearnerRepository =
         contestLearnerRepository;
     _microsoftProfileRepository =
         microsoftProfileRepository;
     _contestLearnerStartValueUpdater =
         contestLearnerStartValueUpdater;
     _contestLearnerCurrentValueUpdater =
         contestLearnerCurrentValueUpdater;
     _experiencePointsCalculator =
         experiencePointsCalculator;
 }
Пример #2
0
 public ContestLearnerAdder(
     IMapper mapper,
     IEventPublisher eventPublisher,
     IContestRepository contestRepository,
     IContestLearnerRepository contestLearnerRepository,
     IMicrosoftProfileRepository microsoftProfileRepository,
     IContestLearnerStartValueUpdater contestLearnerStartValueUpdater,
     IContestLearnerTargetValueUpdater contestLearnerTargetValueUpdater,
     IContestLearnerCurrentValueUpdater contestLearnerCurrentValueUpdater)
 {
     _mapper =
         mapper;
     _eventPublisher =
         eventPublisher;
     _contestRepository =
         contestRepository;
     _contestLearnerRepository =
         contestLearnerRepository;
     _microsoftProfileRepository =
         microsoftProfileRepository;
     _contestLearnerStartValueUpdater =
         contestLearnerStartValueUpdater;
     _contestLearnerTargetValueUpdater =
         contestLearnerTargetValueUpdater;
     _contestLearnerCurrentValueUpdater =
         contestLearnerCurrentValueUpdater;
 }