ChrisCompleteCodeTrunk
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
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace EmailAndFaxWithStmt
{
internal static class Configuration
{
public static int LogLevel
{
get
{
return int.Parse(ConfigurationManager.AppSettings["LogLevel"]);
}
}
public static string LogSource
{
get
{
return ConfigurationManager.AppSettings["LogSource"];
}
}
public static bool IsLocal
{
get
{
if (string.IsNullOrEmpty(ConfigurationManager.AppSettings["IsLocal"]))
return false;
if (ConfigurationManager.AppSettings["IsLocal"].ToLower() == "true")
return true;
return false;
}
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|