public LandingPageViewModel(IWeatherForcastService weatherForcastService, INavigationService navigationService) { this.weatherForcastService = weatherForcastService; this.navigationService = navigationService; searchWeatherCommand = new Command(OnSearchClickedAsync); }
public HomeController( ILogger <HomeController> logger, IWeatherForcastService weatherForcastService) { _logger = logger; _weatherForcastService = weatherForcastService ?? throw new ArgumentNullException(nameof(weatherForcastService)); }
public HomeController(ILogger <HomeController> logger, IWeatherForcastService weatherForcastService) { _logger = logger; _weatherForcastService = weatherForcastService; }
public WeatherForecastController(IWeatherForcastService weatherForcastService, IAppCache cache) { this._weatherForcastService = weatherForcastService; this._cache = cache; }
public async Task Invoke(HttpContext httpContext, IWeatherForcastService service, ILogger <CustomMiddleware> logger) { logger.LogInformation($"Middleware service {service}"); await _next(httpContext); }
public LoadWeatherForcastBehavior(IWeatherForcastService weatherForcastService) { this.weatherForcastService = weatherForcastService; }
public WeatherController(IWeatherForcastService weatherForcastService) { this.weatherForcastService = weatherForcastService; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IWeatherForcastService weatherForecastService) { _weatherForecastService = weatherForecastService; _logger = logger; }
public WeatherController(ILogger <WeatherController> logger, IWeatherForcastService weatherForcastService) { this.logger = logger; this.weatherForcastService = weatherForcastService; }