Exemple #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;
 }
Exemple #3
0
 public HeroesController(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository ??
                         throw new ArgumentNullException(nameof(heroesRepository));
 }
Exemple #4
0
 public HeroesController(IHeroesRepository repository)
 {
     _repository = repository;
 }
 public DefaultController(IHeroesRepository heroesRepository, IMatchesRepository matchesRepository)
 {
     this.heroesRepository  = heroesRepository;
     this.matchesRepository = matchesRepository;
 }
Exemple #6
0
 public HeroesService(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository;
 }
 public HeroesController(IHeroesRepository heroesRepository)
 {
     _heroesRepository = heroesRepository;
 }
Exemple #8
0
 public HeroesController(ILogger <HeroesController> logger, IHeroesRepository heroesRepository)
 {
     _logger           = logger;
     _heroesRepository = heroesRepository;
 }
 public HeroesController(IHeroesRepository repo)
 {
     _repo = repo;
 }
Exemple #10
0
 public HeroesHandler(IHeroesRepository heroesRepository, IMapper mapper)
 {
     _heroesRepository = heroesRepository;
     _mapper           = mapper;
 }
Exemple #11
0
 public HeroesController(IHeroesRepository heroRepository, INotificationService notificationService)
 {
     this._notificationService = notificationService;
     this._heroRepository      = heroRepository;
 }