1
using System;
2
3
namespace SSSSystem.Class
4
{
5
/// <summary>
6
/// Global 的摘要说明。
7
/// </summary>
8
public class Global
9
{
10
private static Global _global = null;
11
public Global()
12
{
13
//
14
// TODO: 在此处添加构造函数逻辑
15
//
16
}
17
public static Global GetInstance()
18
{
19
if (_global == null)
20
{
21
_global = new Global();
22
}
23
24
return _global;
25
}
26
27
private ConfigSettings settings = new ConfigSettings((new ConfigSettingDefaults()).Value);
28
/// <summary>
29
/// 操纵Appconfig配置文件类
30
/// </summary>
31
public ConfigSettings Settings
32
{
33
get{return settings;}
34
}
35
}
36
}
37

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
