protected Entry(Location location, PollutantReading pollutantReading) { this.Country = location.Country; this.State = location.State; this.City = location.City; this.Place = location.Place; this.LastUpdatedTime = pollutantReading.LastUpdatedTime; this.Average = pollutantReading.Average; this.Max = pollutantReading.Max; this.Min = pollutantReading.Min; this.Pollutant = location.Pollutant; }
public static Entry CreateEntry(Location location, PollutantReading pollutantReading) { return(new Entry(location, pollutantReading)); }