-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfigReader.cs
More file actions
53 lines (45 loc) · 1.65 KB
/
ConfigReader.cs
File metadata and controls
53 lines (45 loc) · 1.65 KB
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
49
50
51
52
53
namespace ZohoSync
{
using System;
using System.Configuration;
using ZohoSync.Config;
/// <summary>
/// read application configuration
/// </summary>
internal class ConfigReader
{
/// <summary>
/// gets zoho login
/// </summary>
public static string ZohoLogin = ConfigurationManager.AppSettings["zohoLogin"];
/// <summary>
/// gets zoho password
/// </summary>
public static string ZohoPassword = ConfigurationManager.AppSettings["zohoPassword"];
/// <summary>
/// gets smart emailing login
/// </summary>
public static string SmartEmailLogin = ConfigurationManager.AppSettings["smartEmailLogin"];
/// <summary>
/// gets smart emailing token
/// </summary>
public static string SmartEmailToken = ConfigurationManager.AppSettings["smartEmailToken"];
/// <summary>
/// gets smart emailing reply to email
/// </summary>
public static string SmartEmailReplyTo = ConfigurationManager.AppSettings["smartEmailReplyTo"];
/// <summary>
/// gets smart emailing owner name
/// </summary>
public static string SmartEmailOwnerName = ConfigurationManager.AppSettings["smartEmailOwnerName"];
/// <summary>
/// gets smart emailing owner email
/// </summary>
public static string SmartEmailOwnerEmail = ConfigurationManager.AppSettings["smartEmailOwnerEmail"];
/// <summary>
/// gets current mapping setting
/// </summary>
public static MappingSetting MappingSetting = MappingSetting.CurrentSetting;
}
}