-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCountryInitializer.cs
More file actions
88 lines (86 loc) · 4.88 KB
/
CountryInitializer.cs
File metadata and controls
88 lines (86 loc) · 4.88 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
namespace World.Net.Helpers;
internal sealed class CountryInitializer
{
public static Dictionary<CountryIdentifier, ICountry> Initialize()
{
return new Dictionary<CountryIdentifier, ICountry>
{
{ CountryIdentifier.Afghanistan, new Afghanistan() },
{ CountryIdentifier.AlandIslands, new AlandIslands() },
{ CountryIdentifier.Albania, new Albania() },
{ CountryIdentifier.Algeria, new Algeria() },
{ CountryIdentifier.AmericanSamoa, new AmericanSamoa() },
{ CountryIdentifier.Andorra, new Andorra() },
{ CountryIdentifier.Angola, new Angola() },
{ CountryIdentifier.Anguilla, new Anguilla() },
{ CountryIdentifier.Antarctica, new Antarctica() },
{ CountryIdentifier.AntiguaAndBarbuda, new AntiguaAndBarbuda() },
{ CountryIdentifier.Argentina, new Argentina() },
{ CountryIdentifier.Armenia, new Armenia() },
{ CountryIdentifier.Aruba, new Aruba() },
{ CountryIdentifier.Australia, new Australia() },
{ CountryIdentifier.Austria, new Austria() },
{ CountryIdentifier.Azerbaijan, new Azerbaijan() },
{ CountryIdentifier.Bahamas, new TheBahamas() },
{ CountryIdentifier.Bahrain, new Bahrain() },
{ CountryIdentifier.Bangladesh, new Bangladesh() },
{ CountryIdentifier.Barbados, new Barbados() },
{ CountryIdentifier.Belarus, new Belarus() },
{ CountryIdentifier.Belgium, new Belgium() },
{ CountryIdentifier.Belize, new Belize() },
{ CountryIdentifier.Benin, new Benin() },
{ CountryIdentifier.Bermuda, new Bermuda() },
{ CountryIdentifier.Bhutan, new Bhutan() },
{ CountryIdentifier.Bolivia, new Bolivia() },
{ CountryIdentifier.BosniaAndHerzegovina, new BosniaAndHerzegovina() },
{ CountryIdentifier.Botswana, new Botswana() },
{ CountryIdentifier.BouvetIsland, new BouvetIsland() },
{ CountryIdentifier.Brazil, new Brazil() },
{ CountryIdentifier.BritishIndianOceanTerritory, new BritishIndianOceanTerritory() },
{ CountryIdentifier.Brunei, new Brunei() },
{ CountryIdentifier.Bulgaria, new Bulgaria() },
{ CountryIdentifier.BurkinaFaso, new BurkinaFaso() },
{ CountryIdentifier.Burundi, new Burundi() },
{ CountryIdentifier.Cambodia, new Cambodia() },
{ CountryIdentifier.Cameroon, new Cameroon() },
{ CountryIdentifier.Canada, new Canada() },
{ CountryIdentifier.CapeVerde, new CapeVerde() },
{ CountryIdentifier.CaymanIslands, new CaymanIslands() },
{ CountryIdentifier.CentralAfricanRepublic, new CentralAfricanRepublic() },
{ CountryIdentifier.Chad, new Chad() },
{ CountryIdentifier.Chile, new Chile() },
{ CountryIdentifier.China, new China() },
{ CountryIdentifier.ChristmasIsland, new ChristmasIsland() },
{ CountryIdentifier.CocosKeelingIslands, new CocosKeelingIslands() },
{ CountryIdentifier.Colombia, new Colombia() },
{ CountryIdentifier.Comoros, new Comoros() },
{ CountryIdentifier.Congo, new Congo() },
{ CountryIdentifier.CostaRica, new CostaRica() },
{ CountryIdentifier.CookIslands, new CookIslands() },
{ CountryIdentifier.CoteDIvoire, new CoteDIvoire() },
{ CountryIdentifier.Croatia, new Croatia() },
{ CountryIdentifier.Cuba, new Cuba() },
{ CountryIdentifier.Curacao, new Curaçao() },
{ CountryIdentifier.Cyprus, new Cyprus() },
{ CountryIdentifier.CzechRepublic, new CzechRepublic() },
{ CountryIdentifier.Denmark, new Denmark() },
{ CountryIdentifier.Djibouti, new Djibouti() },
{ CountryIdentifier.Dominica, new Dominica() },
{ CountryIdentifier.DominicanRepublic, new DominicanRepublic() },
{ CountryIdentifier.TimorLeste, new TimorLeste() },
{ CountryIdentifier.Ecuador, new Ecuador() },
{ CountryIdentifier.Egypt, new Egypt() },
{ CountryIdentifier.Estonia, new Estonia() },
{ CountryIdentifier.Ethiopia, new Ethiopia() },
{ CountryIdentifier.Eswatini, new Eswatini() },
{ CountryIdentifier.FalklandIslands, new FalklandIslands() },
{ CountryIdentifier.FaroeIslands, new FaroeIslands() },
{ CountryIdentifier.FijiIslands, new FijiIslands() },
{ CountryIdentifier.Finland, new Finland() },
{ CountryIdentifier.France, new France() },
{ CountryIdentifier.FrenchGuiana, new FrenchGuiana() },
{ CountryIdentifier.FrenchPolynesia, new FrenchPolynesia() },
// Future countries can be added here in the same format.
};
}
}