root / trunk / NetSparkle / NetSparkleAppCaseItem.cs @ 049333d2
History | View | Annotate | Download (749 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
|
6 |
namespace AppLimit.NetSparkle |
7 |
{ |
8 |
public class NetSparkleAppCastItem : IComparable<NetSparkleAppCastItem> |
9 |
{ |
10 |
public String AppName; |
11 |
public String AppVersionInstalled; |
12 |
|
13 |
public String Version; |
14 |
public String ReleaseNotesLink; |
15 |
public String DownloadLink; |
16 |
|
17 |
public String DSASignature; |
18 |
|
19 |
#region IComparable<NetSparkleAppCastItem> Members |
20 |
|
21 |
public int CompareTo(NetSparkleAppCastItem other) |
22 |
{ |
23 |
Version v1 = new Version(this.Version); |
24 |
Version v2 = new Version(other.Version); |
25 |
|
26 |
return v1.CompareTo(v2); |
27 |
} |
28 |
|
29 |
#endregion |
30 |
} |
31 |
} |