Example #1
0
 public TypingSessionsController(
     ITypingSessionRepository typingSessionRepository,
     ITextRepository textRepository)
 {
     _typingSessionRepository = typingSessionRepository;
     _textRepository          = textRepository;
 }
Example #2
0
 public UserSessionsController(
     IUserSessionRepository userSessionRepository,
     ITypingSessionRepository typingSessionRepository,
     ITypingResultProcessor typingResultProcessor,
     ITypingReportGenerator typingReportGenerator)
 {
     _userSessionRepository   = userSessionRepository;
     _typingSessionRepository = typingSessionRepository;
     _typingResultProcessor   = typingResultProcessor;
     _typingReportGenerator   = typingReportGenerator;
 }
 public TypingResultProcessor(
     ITextTypingResultValidator textTypingResultValidator,
     IUserSessionRepository userSessionRepository,
     ITypingSessionRepository typingSessionRepository,
     ITextRepository textRepository)
 {
     _textTypingResultValidator = textTypingResultValidator;
     _userSessionRepository     = userSessionRepository;
     _typingSessionRepository   = typingSessionRepository;
     _textRepository            = textRepository;
 }
Example #4
0
 public TypingReportGenerator(
     IUserSessionRepository userSessionRepository,
     ITypingSessionRepository typingSessionRepository,
     ITextTypingResultValidator textTypingResultValidator,
     IUserTypingStatisticsStore userTypingStatisticsStore,
     ITextRepository textRepository)
 {
     _userSessionRepository     = userSessionRepository;
     _typingSessionRepository   = typingSessionRepository;
     _textTypingResultValidator = textTypingResultValidator;
     _userTypingStatisticsStore = userTypingStatisticsStore;
     _textRepository            = textRepository;
 }