-
Notifications
You must be signed in to change notification settings - Fork 96
/
Version.cs
48 lines (41 loc) · 1.06 KB
/
Version.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace CssSprite
{
[XmlRootAttribute("VersionInfo")]
public class VersionInfo
{
private string _version;
private string _downloadUrl;
private string _introductionUrl;
/// <summary>
/// 版本名称
/// </summary>
[XmlElement("Version")]
public string Version
{
get { return _version; }
set { _version = value; }
}
/// <summary>
/// 下载地址
/// </summary>
[XmlElement("DownloadUrl")]
public string DownloadUrl
{
get { return _downloadUrl; }
set { _downloadUrl = value; }
}
/// <summary>
/// 介绍地址
/// </summary>
[XmlElement("IntroductionUrl")]
public string IntroductionUrl
{
get { return _introductionUrl; }
set { _introductionUrl = value; }
}
}
}