From 2b8b98b59090ab6d077ac76cf9185da7d6ac126a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 15 Apr 2013 14:45:58 -0400 Subject: reduce scanning overhead a bit --- MediaBrowser.Model/Weather/WeatherInfo.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MediaBrowser.Model/Weather/WeatherInfo.cs') diff --git a/MediaBrowser.Model/Weather/WeatherInfo.cs b/MediaBrowser.Model/Weather/WeatherInfo.cs index b423380f5..57a9432f6 100644 --- a/MediaBrowser.Model/Weather/WeatherInfo.cs +++ b/MediaBrowser.Model/Weather/WeatherInfo.cs @@ -21,5 +21,13 @@ namespace MediaBrowser.Model.Weather /// The forecasts. [ProtoMember(2)] public WeatherForecast[] Forecasts { get; set; } + + /// + /// Initializes a new instance of the class. + /// + public WeatherInfo() + { + Forecasts = new WeatherForecast[] {}; + } } } -- cgit v1.2.3