Created
July 8, 2017 17:44
-
-
Save robinvanderknaap/23102d04877f60f2b73dc98113e2ae75 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| public class CompanySource : DatasourceBase<String> | |
| { | |
| private readonly Random _random = new Random(1337); | |
| public override string Next(IGenerationContext context) | |
| { | |
| return Companies[_random.Next(0, Companies.Length)]; | |
| } | |
| private static readonly string[] Companies = new[]{ | |
| "Acme, inc.", | |
| "Widget Corp", | |
| "123 Warehousing", | |
| "Demo Company", | |
| "Smith and Co.", | |
| "Foo Bars", | |
| "ABC Telecom", | |
| "Fake Brothers", | |
| "QWERTY Logistics", | |
| "Demo, inc.", | |
| "Sample Company", | |
| "Sample, inc", | |
| "Acme Corp", | |
| "Allied Biscuit", | |
| "Ankh-Sto Associates", | |
| "Extensive Enterprise", | |
| "Galaxy Corp", | |
| "Globo-Chem", | |
| "Mr. Sparkle", | |
| "Moes Tavern", | |
| "Central Perk", | |
| "Chasers" | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment