public DetailViewModel(Park park)
 {
     this.Park = park;
 }
예제 #2
0
 public ParkWeatherModel(Park park, IList <Weather> weather)
 {
     this.park    = park;
     this.weather = weather;
 }
예제 #3
0
 public ParkVM(Park park, IList <Weather> weather)
 {
     Park    = park;
     Weather = weather;
 }
예제 #4
0
 public DetailViewModel(Park park, IList <Weather> weather)
 {
     Park    = park;
     Weather = weather;
 }
예제 #5
0
 /// <summary>
 /// Contains all info to pass to detail view
 /// </summary>
 /// <param name="park">Chosen park from home or favorites page</param>
 /// <param name="weatherByPark">List of the Park's weather</param>
 public ParkWeatherViewModel(Park park, List <Weather> weatherByPark)
 {
     Park          = park;
     WeatherByPark = weatherByPark;
 }
예제 #6
0
 public DetailViewModel(Park park, IList <Forecast> forecasts, string temperatureUnit)
 {
     this.ParkDetail      = park;
     this.Forecasts       = forecasts;
     this.TemperatureUnit = temperatureUnit;
 }