/// <summary>
 /// Initializes a new instance of the <see cref="Weather_InfoViewModel" /> class.
 /// </summary>
 /// <param name="dialogService">The Dialog Service.</param>
 /// <param name="navigationService">The Navigation Service.</param>
 /// <param name="weather">The Weather.</param>
 public Weather_InfoViewModel(IDialogService dialogService, INavigationService navigationService, Iweather weather)
 {
     _dialogService = dialogService;
     _navigationService = navigationService;
     _weather = weather;
 }
Beispiel #2
0
 public WeatherClient(Iweather w)
 {
     client = new HttpClient();
     this.w = w;
 }
 public WeatherController(IHostingEnvironment hostingEnvironment, IFile _file, Iweather _weather)
 {
     _hostingEnvironment = hostingEnvironment;
     file    = _file;
     weather = _weather;
 }