Exemplo n.º 1
0
 public ExerciseRepository(
     IQueryProcessor queryProcessor,
     IExerciseCacheService exerciseCacheService)
 {
     _queryProcessor       = queryProcessor;
     _exerciseCacheService = exerciseCacheService;
 }
 public ExerciseRepository(
     IQueryProcessor queryProcessor,
     IBackgroundJobClientService backgroundJobClientService,
     IExerciseCacheService exerciseCacheService)
 {
     _queryProcessor             = queryProcessor;
     _backgroundJobClientService = backgroundJobClientService;
     _exerciseCacheService       = exerciseCacheService;
 }
 public PopulateExercisesJob(
     IQueryProcessor queryProcessor,
     IOptions <ExerciseServiceOptions> options,
     IExerciseCacheService exerciseCacheService,
     IRestClient restClient,
     ICommandDispatcher commandDispatcher,
     IBackgroundJobClientService backgroundJobClientService
     )
 {
     _exerciseCacheService = exerciseCacheService;
     _options                    = options.Value;
     _queryProcessor             = queryProcessor;
     _restClient                 = restClient;
     _commandDispatcher          = commandDispatcher;
     _backgroundJobClientService = backgroundJobClientService;
 }