public SuperheroService(IAppLogger <SuperheroService> logger, ISuperheroRepository superheroRepository, IMapper mapper) { this.superheroRepository = superheroRepository ?? throw new ArgumentNullException(nameof(superheroRepository)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public ProtectionAreaCommandHandler(ISuperheroRepository superheroRepository, IProtectionAreaRepository protectionAreaRepository, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(protectionAreaRepository, bus, notifications) { _superheroRepository = superheroRepository; _protectionAreaRepository = protectionAreaRepository; _bus = bus; }
public SuperheroCommandHandler(ISuperheroRepository superheroRepository, IProtectionAreaRepository protectionAreaRepository, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications, IAuditEventService auditEventService) : base(superheroRepository, bus, notifications) { _superheroRepository = superheroRepository; _protectionAreaRepository = protectionAreaRepository; _bus = bus; _auditEventService = auditEventService; }
public SuperheroAppService(ISuperheroRepository superheroRepository, IMediatorHandler bus, IMapper mapper, ICacheManager cache, IHttpContextAccessor httpContextAccessor) { _superheroRepository = superheroRepository; _bus = bus; _mapper = mapper; _cache = cache; _httpContextAccessor = httpContextAccessor; }
public SuperheroesController(ISuperheroRepository repository, ILogger <SuperheroesController> logger) { _repository = repository; _logger = logger; }
public SuperheroesController(ISuperheroRepository repository) { _repository = repository; }
public SuperheroViewModel(ISuperheroRepository repository) { _repository = repository; }
public CachingRepository(ISuperheroRepository superheroRepository) { _superheroRepository = superheroRepository; }
public FilmSuperheroesController(IFilmRepository filmRepository, ISuperheroRepository superheroRepository, IFilmSuperheroesRepository filmSuperheroesRepository) { this.filmRepository = filmRepository; this.superheroRepository = superheroRepository; this.filmSuperheroesRepository = filmSuperheroesRepository; }
public SuperheroBusiness(ISuperheroRepository repository) { this.repository = repository; }