aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Installer/Code/PackageVersionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Installer/Code/PackageVersionInfo.cs')
-rw-r--r--MediaBrowser.Installer/Code/PackageVersionInfo.cs73
1 files changed, 0 insertions, 73 deletions
diff --git a/MediaBrowser.Installer/Code/PackageVersionInfo.cs b/MediaBrowser.Installer/Code/PackageVersionInfo.cs
deleted file mode 100644
index d26c217ca..000000000
--- a/MediaBrowser.Installer/Code/PackageVersionInfo.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using System;
-using System.Runtime.Serialization;
-
-namespace MediaBrowser.Installer.Code
-{
- /// <summary>
- /// Class PackageVersionInfo
- /// </summary>
- public class PackageVersionInfo
- {
- /// <summary>
- /// Gets or sets the name.
- /// </summary>
- /// <value>The name.</value>
- public string name { get; set; }
-
- /// <summary>
- /// Gets or sets the version STR.
- /// </summary>
- /// <value>The version STR.</value>
- public string versionStr { get; set; }
-
- /// <summary>
- /// The _version
- /// </summary>
- private Version _version;
- /// <summary>
- /// Gets or sets the version.
- /// Had to make this an interpreted property since Protobuf can't handle Version
- /// </summary>
- /// <value>The version.</value>
- public Version version
- {
- get { return _version ?? (_version = new Version(versionStr.ValueOrDefault("0.0.0.1"))); }
- }
-
- /// <summary>
- /// Gets or sets the classification.
- /// </summary>
- /// <value>The classification.</value>
- public PackageVersionClass classification { get; set; }
-
- /// <summary>
- /// Gets or sets the description.
- /// </summary>
- /// <value>The description.</value>
- public string description { get; set; }
-
- /// <summary>
- /// Gets or sets the required version STR.
- /// </summary>
- /// <value>The required version STR.</value>
- public string requiredVersionStr { get; set; }
-
- /// <summary>
- /// Gets or sets the source URL.
- /// </summary>
- /// <value>The source URL.</value>
- public string sourceUrl { get; set; }
-
- /// <summary>
- /// Gets or sets the source URL.
- /// </summary>
- /// <value>The source URL.</value>
- public Guid checksum { get; set; }
-
- /// <summary>
- /// Gets or sets the target filename.
- /// </summary>
- /// <value>The target filename.</value>
- public string targetFilename { get; set; }
- }
-}