Start on new update routines

This commit is contained in:
Eric Reed
2013-02-28 14:29:17 -05:00
parent 0180e89310
commit 989bb48596
4 changed files with 24 additions and 11 deletions

View File

@@ -17,6 +17,15 @@ namespace MediaBrowser.Model.Updates
/// Gets or sets the available version.
/// </summary>
/// <value>The available version.</value>
public Version AvailableVersion { get; set; }
public Version AvailableVersion
{
get { return Package != null ? Package.version : new Version(0, 0); }
set { } // need this for the serializer
}
/// <summary>
/// Get or sets package information for an available update
/// </summary>
public PackageVersionInfo Package { get; set; }
}
}