1
2
using System;
3
using System.Collections.Generic;
4
using System.Text;
5
using System.Xml.Serialization;
6
using System.IO;
7
using System.Reflection;
8
9
namespace Mobile.Services
10
{
11
/// <summary>
12
/// 读取/保存xml文件的类
13
/// </summary>
14
public class XmlService
15
{
16
private string _strPath;
17
18
public XmlService()
19
{
20
//this._strPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase + "\\SysSetting.xml");
21
}
22
23
24
/// <summary>
25
/// 持久化文件路径
26
/// </summary>
27
public string XMLPath
28
{
29
get { return _strPath; }
30
set { _strPath = value; }
31
}
32
33
公有方法/属性
112
113
}
114
}
115

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

112

113

114

115
