-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added requested feature * Added the docs. * Fixed the ordering. * Updated the data class. Closes #84
- Loading branch information
1 parent
8a1f9aa
commit ae67270
Showing
9 changed files
with
435 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Faker.LordOfTheRings | ||
|
||
```cs | ||
Faker.LordOfTheRings.Character() //=> "Legolas" | ||
Faker.LordOfTheRings.Location() //=> "Helm's Deep" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,340 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace FakerDotNet.Data | ||
{ | ||
internal static class LordOfTheRingsData | ||
{ | ||
public static readonly IEnumerable<string> Characters = new[] | ||
{ | ||
"Aragorn", | ||
"Arwen", | ||
"Aegnor", | ||
"Aerandir", | ||
"Aerin", | ||
"Aghan", | ||
"Amandil", | ||
"Amarië", | ||
"Amlach", | ||
"Amras", | ||
"Amrod", | ||
"Ancalagon", | ||
"Andreth", | ||
"Andróg", | ||
"Angrim", | ||
"Angrod", | ||
"Annael", | ||
"Ar-Adûnakhôr", | ||
"Ar-Gimilzôr", | ||
"Ar-Pharazôn", | ||
"Ar-Sakalthôr", | ||
"Ar-Zimrathôn", | ||
"Aranwë", | ||
"Aratan", | ||
"Aratar", | ||
"Aredhel", | ||
"Arien", | ||
"Arthad", | ||
"Asgon", | ||
"Aulë", | ||
"Azaghâl", | ||
"Bilbo Baggins", | ||
"Frodo Baggins", | ||
"Barach", | ||
"Baragund", | ||
"Barahir", | ||
"Baran", | ||
"Barliman Butterbur", | ||
"Beechbone", | ||
"Beregond and Bergil", | ||
"Bergil", | ||
"Bilbo", | ||
"Fredegar Bolger", | ||
"Tom Bombadil", | ||
"Meriadoc Brandybuck", | ||
"Bregalad", | ||
"Brego", | ||
"Beleg", | ||
"Belegund", | ||
"Bereg", | ||
"Beren", | ||
"Borlach", | ||
"Borlad", | ||
"Boromir (House of Bëor)", | ||
"Borthand", | ||
"Brandir", | ||
"Bregolas", | ||
"Bregor", | ||
"Brodda", | ||
"Bëor", | ||
"Bór", | ||
"Celeborn", | ||
"Círdan", | ||
"Calmacil", | ||
"Caranthir", | ||
"Carcharoth", | ||
"Celebrimbor", | ||
"Celegorm", | ||
"Ciryon", | ||
"Curufin", | ||
"Déagol", | ||
"Denethor", | ||
"Dúnhere", | ||
"Durin's Bane", | ||
"Daeron", | ||
"Dairuin", | ||
"Dior", | ||
"Dorlas", | ||
"Draugluin", | ||
"Elfhelm", | ||
"Elladan and Elrohir", | ||
"Elrond", | ||
"Éomer", | ||
"Éomund", | ||
"Éothain", | ||
"Éowyn", | ||
"Erestor", | ||
"Erkenbrand", | ||
"Ecthelion of the Fountain", | ||
"Eilinel", | ||
"Elatan", | ||
"Elemmírë", | ||
"Elendil", | ||
"Elendur", | ||
"Elenwë", | ||
"Elros", | ||
"Eluréd and Elurín", | ||
"Elwing", | ||
"Emeldir", | ||
"Erellont", | ||
"Estë", | ||
"Eärendil", | ||
"Eärendur, Lord of Andúnië", | ||
"Eärendur of Arnor", | ||
"Eärendur of Númenor", | ||
"Eärwen", | ||
"Eöl", | ||
"Eönwë", | ||
"Faramir", | ||
"Figwit", | ||
"Forlong the Fat", | ||
"Freda", | ||
"Falathar", | ||
"Finarfin", | ||
"Finduilas", | ||
"Fingolfin", | ||
"Fingon", | ||
"Finrod", | ||
"Finwë", | ||
"Fuinur", | ||
"Fëanor", | ||
"Galadriel", | ||
"Hamfast Gamgee", | ||
"Samwise Gamgee", | ||
"Gamling", | ||
"Gandalf", | ||
"Ghân-buri-Ghân", | ||
"Gildor Inglorion", | ||
"Gimli", | ||
"Glorfindel", | ||
"Goldberry", | ||
"Gollum", | ||
"Gothmog", | ||
"Gríma Wormtongue", | ||
"Grimbold", | ||
"Galdor", | ||
"Gamil Zirak", | ||
"Gelmir", | ||
"Gelmir (of Angrod's kin)", | ||
"Gil-galad", | ||
"Gimilkhâd", | ||
"Glaurung", | ||
"Glirhuin", | ||
"Glóredhel", | ||
"Gorlim", | ||
"Guilin", | ||
"Gundor", | ||
"Gwindor", | ||
"Haldir of Lórien", | ||
"Haleth", | ||
"Háma", | ||
"Húrin the Tall", | ||
"Hador", | ||
"Haldad", | ||
"Haldan", | ||
"Haldar", | ||
"Halmir", | ||
"Handir", | ||
"Hareth", | ||
"Hathaldir", | ||
"Herumor", | ||
"Huan", | ||
"Hundad", | ||
"Hunthor", | ||
"Huor", | ||
"Irolas", | ||
"Isildur", | ||
"Ibûn", | ||
"Idril", | ||
"Ilmarë", | ||
"Eru Ilúvatar", | ||
"Imlach", | ||
"Indis", | ||
"Ingwë", | ||
"Inzilbêth", | ||
"Iorlas", | ||
"Irmo", | ||
"Khim", | ||
"Legolas Greenleaf", | ||
"Lurtz", | ||
"Lalaith", | ||
"Lenwë", | ||
"Lorgan", | ||
"Lúthien", | ||
"Madril", | ||
"Farmer Maggot", | ||
"Morwen", | ||
"Mouth of Sauron", | ||
"Mablung", | ||
"Maedhros", | ||
"Maeglin", | ||
"Maglor", | ||
"Mahtan", | ||
"Malach", | ||
"Mandos", | ||
"Manwë", | ||
"Marach", | ||
"Mardil Voronwë", | ||
"Melian", | ||
"Melkor", | ||
"Meneldil", | ||
"Morwen", | ||
"Míriel", | ||
"Mîm", | ||
"Nazgûl", | ||
"Nerdanel", | ||
"Nessa", | ||
"Nienna", | ||
"Nimloth", | ||
"Nimrodel", | ||
"Niënor", | ||
"Númendil", | ||
"Old Man Willow", | ||
"Orophin", | ||
"Ohtar", | ||
"Olwë", | ||
"Orodreth", | ||
"Oromë", | ||
"Ossë", | ||
"Radagast", | ||
"Radhruin", | ||
"Ragnor", | ||
"Rían", | ||
"Rúmil (Noldo)", | ||
"Samwise Gamgee", | ||
"Saruman", | ||
"Sauron", | ||
"Sharku", | ||
"Shelob", | ||
"Smaug", | ||
"Sador", | ||
"Saeros", | ||
"Salmar", | ||
"Soronto", | ||
"Théoden", | ||
"Théodred", | ||
"Peregrin Took", | ||
"Treebeard", | ||
"Tar-Alcarin", | ||
"Tar-Aldarion", | ||
"Tar-Ancalimon", | ||
"Tar-Ancalimë", | ||
"Tar-Anárion", | ||
"Tar-Ardamin", | ||
"Tar-Atanamir", | ||
"Tar-Calmacil", | ||
"Tar-Ciryatan", | ||
"Tar-Elendil", | ||
"Tar-Minastir", | ||
"Tar-Míriel", | ||
"Tar-Palantir", | ||
"Tar-Súrion", | ||
"Tar-Telemmaitë", | ||
"Tar-Telperiën", | ||
"Tar-Vanimeldë", | ||
"Telchar", | ||
"Thingol", | ||
"Thorondor", | ||
"Thuringwethil", | ||
"Tilion", | ||
"Valar", | ||
"Witch-king of Angmar" | ||
}; | ||
|
||
public static readonly IEnumerable<string> Locations = new[] | ||
{ | ||
"Almaren", | ||
"Amon Hen", | ||
"Andram, The Long Wall", | ||
"Anduin", | ||
"Arnor", | ||
"Bag End", | ||
"Barad-dûr", | ||
"Baranduin", | ||
"Beleriand", | ||
"Belegaer, The Great Sea", | ||
"Blue Mountains", | ||
"Bree-land", | ||
"Brithon", | ||
"Bruinen", | ||
"Cuiviénen", | ||
"Dorthonion", | ||
"Erebor", | ||
"Ered Luin", | ||
"Ered Mithrin", | ||
"Ered Nimrais", | ||
"Eriador", | ||
"Esgaroth", | ||
"Falas", | ||
"Fangorn", | ||
"Forodwaith", | ||
"Gelion", | ||
"Gondolin", | ||
"Gondor", | ||
"Great East Road", | ||
"Harad", | ||
"Helm's Deep", | ||
"Himring", | ||
"Hithlum", | ||
"Isengard", | ||
"Khazad-dûm", | ||
"Lindon & the Grey Havens", | ||
"Lonely Mountains", | ||
"Lothlórien", | ||
"Minas Tirith", | ||
"Mirkwood", | ||
"Misty Mountains", | ||
"Mordor", | ||
"Mount Doom", | ||
"Nenning", | ||
"Nevrast", | ||
"North-South Road", | ||
"Ossiriand, The Land of Seven Rivers", | ||
"Rhovanion", | ||
"Rhûn", | ||
"Rivendell", | ||
"Rohan", | ||
"Running River", | ||
"Sirion", | ||
"Thangorodrim", | ||
"The Fens of Sirion", | ||
"The Gates of Sirion", | ||
"The Necromancer", | ||
"The Shire", | ||
"The Two Lamps", | ||
"The White Mountains", | ||
"Théoden", | ||
"Weathertop", | ||
"Wilderland", | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.