public BlazorSupervisor(IAlbumRepository albumRepository, IArtistRepository artistRepository, ICustomerRepository customerRepository, IEmployeeRepository employeeRepository, IGenreRepository genreRepository, IInvoiceLineRepository invoiceLineRepository, IInvoiceRepository invoiceRepository, IMediaTypeRepository mediaTypeRepository, IPlaylistRepository playlistRepository, ITrackRepository trackRepository, IMemoryCache memoryCache, IWeatherForecastRepository weatherForecastRepository, IVendaRepository vendaRepository ) { _albumRepository = albumRepository; _artistRepository = artistRepository; _customerRepository = customerRepository; _employeeRepository = employeeRepository; _genreRepository = genreRepository; _invoiceLineRepository = invoiceLineRepository; _invoiceRepository = invoiceRepository; _mediaTypeRepository = mediaTypeRepository; _playlistRepository = playlistRepository; _trackRepository = trackRepository; _cache = memoryCache; _weatherForecastRepository = weatherForecastRepository; _vendaRepository = vendaRepository; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IWeatherForecastRepository weatherForecastRepository) { _logger = logger; _weatherForecastRepository = weatherForecastRepository; _logger.LogDebug("create new instance of controller {controller}", nameof(WeatherForecastController)); }
static Functions() { var ctx = new WeatherForecastContext(); _repo = new WeatherForecastRepository(ctx); _weatherSvc = new AccuweatherWeatherSerivce(CloudConfigurationManager.GetSetting("AccuweatherWeatherService:ApiKey")); }
public WeatherForecastController(ILogger <WeatherForecastController> logger, ILocationRepository locationRepo, IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; _logger = logger; _locationRepo = locationRepo; }
public PostWeatherForecastCommandHandler( IMediatorHandler bus, IValidator <PostWeatherForecastCommand> validator, IWeatherForecastRepository weatherForecastRepository) : base(bus, validator) { _weatherForecastRepository = weatherForecastRepository; }
public WeatherForecastController(IWeatherForecastRepository weatherForecastRepository, ICacheService cacheService, ILogger <WeatherForecastController> logger) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _weatherForecastRepository = weatherForecastRepository ?? throw new ArgumentNullException(nameof(weatherForecastRepository)); _cacheService = cacheService ?? throw new ArgumentNullException(nameof(cacheService)); }
public UpdateDataForCitiesThroughEachService(ICityRepository cityRepository, IWeatherForecastRepository forecastRepository, IForecastService[] services, IIdentifier identifier) { _cityRepository = cityRepository; _forecastRepository = forecastRepository; _services = services; _identifier = identifier; }
public PostWeatherForecastCommandHandler( IMediatorHandler bus, INotificationHandler <DomainNotification> notificationHandler, IValidator <PostWeatherForecastCommand> validator, IWeatherForecastRepository weatherForecastRepository) : base(bus, notificationHandler, validator) { _weatherForecastRepository = weatherForecastRepository; }
public PostWeatherForecastTest( ExempleContext context, IValidator<PostWeatherForecastCommand> validator, IWeatherForecastRepository weatherForecastRepository ) : base( context ) { _context = context; _weatherForecastRepository = weatherForecastRepository; _validator = validator; }
public WeatherLogic(ILocationIQOperations locationIQ, IDarkSKYOperations darkSky, IUnitOfWork unitOfWork, IMapper mapper, IWeatherForecastRepository weatherForecastRepository, IDistributedCache distributedCache) { _locationIQ = locationIQ; _darkSky = darkSky; _unitOfWork = unitOfWork; _mapper = mapper; _weatherForecastRepository = weatherForecastRepository; _distributedCache = distributedCache; }
public GrpcWeatherForecastService( ILogger <GrpcWeatherForecastService> logger, IWeatherForecastRepository repository, IMapper mapper, IFeatureManager featureManager) { _logger = logger; _repository = repository; _mapper = mapper; _featureManager = featureManager; }
public CWBAPIService( ILocationRepository locationRepositorie , IWeatherForecastRepository weatherForecastRepository , IWeatherForecastDetailRepository weatherForecastDetailRepository , IOptions <CWBSettingConfig> config) { _LocationRepositorie = locationRepositorie; _WeatherForecastRepository = weatherForecastRepository; _WeatherForecastDetailRepository = weatherForecastDetailRepository; _Authorization = config.Value.Authorization; _BaseUrl = config.Value.DomainUrl; }
public WeatherForecastServices(IWeatherForecastRepository repository, IMapper mapper) { _repository = repository; _mapper = mapper; }
public WeatherForecastService(IWeatherForecastRepository repository) { this.repository = repository; }
public WeatherForecastService(IWeatherForecastRepository repository, IAirpressureGateway airpressure) { _repository = repository; _airpressure = airpressure; }
public WeatherForecastQuery(IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; }
public WeatherService(IWeatherForecastRepository weatherRepo) { _weatherRepo = weatherRepo; }
public WeatherForecastService(IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; }
public WeatherForecastHandler(IWeatherForecastRepository weatherForecastRepository, ILogger logger) { _weatherForecastRepository = weatherForecastRepository; _logger = logger; }
public WeatherForecastContinuedHandler(IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IWeatherForecastRepository repository) { _logger = logger; _repository = repository; }
public WeatherForecastPersistedHandler(IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; }
public WeatherForecastDomainService(IMapper mapper, IWeatherForecastRepository repository) { _mapper = mapper; _repository = repository; }
public static void InitialiseTest(TestContext testContext) { _clientMock = new Mock <IWeatherForecastClient>(); _repository = new WeatherForecastRepository(_clientMock.Object); }
public WeatherForecastController(IWeatherForecastRepository weatherRepository, ILogger <WeatherForecastController> logger) { _weatherRepository = weatherRepository; _logger = logger; }
public WeatherForecastUpdatedHandler(IWeatherForecastRepository weatherForecastRepository) { _weatherForecastRepository = weatherForecastRepository; }
public DBCreateController(IWeatherForecastRepository repo) { _repo = repo; }
public SampleDataController(IWeatherForecastRepository forecasts) { this.forecasts = forecasts; }
public ReportController(IReportRepository repo, IUserRepository userRepo, IWeatherForecastRepository weatherRepo) { _repo = repo; _userRepo = userRepo; _weatherRepo = weatherRepo; }
public WeatherForecastsController(IWeatherForecastRepository repo, IWeatherService weatherSvc) { _repo = repo; _weatherSvc = weatherSvc; }