Example #1
0
 public HeroesFetchingOperation(
     IOptionsMonitor <HeroesFetchingOperationOptions> options,
     IHeroesRepository repository,
     ILogger <HeroesFetchingOperation> logger,
     IHostApplicationLifetime applicationHostLifetime)
 {
     this.options    = options;
     this.repository = repository;
     this.logger     = logger;
     this.applicationHostLifetime = applicationHostLifetime;
 }
 public HeroesController(IHeroesRepository heroesRepo)
 {
     _heroesRepo = heroesRepo;
 }
Example #3
0
 public HeroesController(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository ??
                         throw new ArgumentNullException(nameof(heroesRepository));
 }
Example #4
0
 public HeroesController(IHeroesRepository repository)
 {
     _repository = repository;
 }
Example #5
0
 public DefaultController(IHeroesRepository heroesRepository, IMatchesRepository matchesRepository)
 {
     this.heroesRepository  = heroesRepository;
     this.matchesRepository = matchesRepository;
 }
Example #6
0
 public HeroesService(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository;
 }
Example #7
0
 public HeroesController(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository;
 }
Example #8
0
 public HeroesController(ILogger <HeroesController> logger, IHeroesRepository heroesRepository)
 {
     _logger           = logger;
     _heroesRepository = heroesRepository;
 }
 public HeroesController(IHeroesRepository repo)
 {
     _repo = repo;
 }
Example #10
0
 public HeroesHandler(IHeroesRepository heroesRepository, IMapper mapper)
 {
     _heroesRepository = heroesRepository;
     _mapper           = mapper;
 }
Example #11
0
 public HeroesController(IHeroesRepository heroRepository, INotificationService notificationService)
 {
     this._notificationService = notificationService;
     this._heroRepository      = heroRepository;
 }