Esempio n. 1
0
 public GetActivityFeedQueryHandler(
     IStorageAccessService storageAccessService,
     StatisticService statisticService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
     this.statisticService     = statisticService ?? throw new ArgumentNullException(nameof(statisticService));
 }
 public UserStatisticUpdateService(IActivityRepository activityRepository, IStorageAccessService storageAccessService, ILogger <UserStatisticUpdateService> logger, CalculationService calculationService)
 {
     this.activityRepository   = activityRepository;
     this.storageAccessService = storageAccessService;
     this.logger             = logger;
     this.calculationService = calculationService;
 }
Esempio n. 3
0
 public AddReactionCommandHandler(
     IUserRepository userRepository,
     IActivityRepository activityRepository,
     IStorageAccessService storageAccessService)
 {
     this.userRepository       = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
     this.activityRepository   = activityRepository ?? throw new ArgumentNullException(nameof(activityRepository));
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 4
0
 public ActivityRepository(
     IStorageAccessService storageAccessService,
     IEventGridService eventGridService,
     ILogger <ActivityRepository> logger)
 {
     this.storageAccessService = storageAccessService;
     this.eventGridService     = eventGridService;
     this.logger = logger;
 }
Esempio n. 5
0
 public AcceptFriendRequestCommandHandler(
     IUserRepository userRepository,
     INotificationService notificationService,
     ITranslationService translationService,
     IStorageAccessService storageAccessService)
 {
     this.userRepository       = userRepository;
     this.notificationService  = notificationService;
     this.translationService   = translationService;
     this.storageAccessService = storageAccessService;
 }
Esempio n. 6
0
 public CreateOrUpdateUserCommandHandler(
     IUserRepository userRepository,
     IDrinkRepository drinkRepository,
     IActivityRepository activityRepository,
     IHttpClientFactory httpClientFactory,
     IStorageAccessService storageAccessService)
 {
     this.userRepository       = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
     this.drinkRepository      = drinkRepository ?? throw new ArgumentNullException(nameof(drinkRepository));
     this.activityRepository   = activityRepository ?? throw new ArgumentNullException(nameof(activityRepository));
     this.httpClientFactory    = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 7
0
 public InvitationRepository(IStorageAccessService storageAccess)
 {
     this.storageAccess = storageAccess ?? throw new ArgumentNullException(nameof(storageAccess));
 }
Esempio n. 8
0
 public MonitoringRepository(IStorageAccessService storageAccessService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 9
0
 public StatisticService(IStorageAccessService storageAccessService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
 public GetStatisticHistoryForUserQueryHandler(IStorageAccessService storageAccessService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 11
0
 public DrinkEventRepository(IStorageAccessService storageAccessService, ILogger <DrinkEventRepository> logger)
 {
     this.storageAccessService = storageAccessService;
     this.logger = logger;
 }
Esempio n. 12
0
 public TranslationService(IStorageAccessService storageAccessService, ILogger <TranslationService> logger)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Esempio n. 13
0
 public DeleteActivityCommandHandler(IActivityRepository activityRepository, IStorageAccessService storageAccessService)
 {
     this.activityRepository   = activityRepository;
     this.storageAccessService = storageAccessService;
 }
Esempio n. 14
0
 public GetScoreRankingQueryHandler(IUserRepository userRepository, IStorageAccessService storageAccessService)
 {
     this.userRepository       = userRepository;
     this.storageAccessService = storageAccessService;
 }
Esempio n. 15
0
 public VenueUserRepository(IStorageAccessService storageAccessService, ILogger <VenueUserRepository> logger)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Esempio n. 16
0
 public UserRepository(IStorageAccessService storageAccess, ICacheService cacheService)
 {
     this.storageAccessService = storageAccess ?? throw new ArgumentNullException(nameof(storageAccess));
     this.cacheService         = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
 }
Esempio n. 17
0
 public GetPersonalUsagePerWeekdayQueryHandler(IStorageAccessService storageAccessService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 18
0
 public RemoveFriendCommandHandler(IUserRepository userRepository, IStorageAccessService storageAccessService)
 {
     this.userRepository       = userRepository ?? throw new ArgumentNullException(nameof(userRepository));
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }
Esempio n. 19
0
 public DeleteUserCommandHandler(IStorageAccessService storageAccessService)
 {
     this.storageAccessService = storageAccessService ?? throw new ArgumentNullException(nameof(storageAccessService));
 }