-
Notifications
You must be signed in to change notification settings - Fork 0
/
JobBoards.cs
38 lines (35 loc) · 1.04 KB
/
JobBoards.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
using Job_Application_Database.Classes;
using System.Collections;
namespace Job_Application_Database.Singleton
{
/// <summary>
/// Job Boards Singleton Class
/// </summary>
public sealed class JobBoards : BaseSingleton
{
/// <summary>
/// The Instance Of The Job Boards Singleton
/// </summary>
public new static JobBoards Instance
{
get
{
return Singleton<JobBoards>.Instance;
}
}
/// <summary>
/// Initialize The Hash Table With Basic Job Boards
/// </summary>
public override void InitObjectList()
{
_table = new Hashtable
{
{ 0, new JobBoard(" ") },
{ 1, new JobBoard("Glassdoor", "www.glassdoor.com") },
{ 2, new JobBoard("Indeed", "www.indeed.com") },
{ 3, new JobBoard("Linkedin", "www.linkedin.com") },
{ 4, new JobBoard("Monster", "www.monster.com") }
};
}
}
}