aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Weather/WeatherInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Weather/WeatherInfo.cs')
-rw-r--r--MediaBrowser.Model/Weather/WeatherInfo.cs8
1 files changed, 8 insertions, 0 deletions
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
/// <value>The forecasts.</value>
[ProtoMember(2)]
public WeatherForecast[] Forecasts { get; set; }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="WeatherInfo"/> class.
+ /// </summary>
+ public WeatherInfo()
+ {
+ Forecasts = new WeatherForecast[] {};
+ }
}
}