Provides modifiable sources of "natural" data.
More...
|
static readonly Dictionary< string, string > | LanguageNameToLanguageCodeLookup |
| Provides a lookup of language names to their respective language codes.
|
static readonly List< string > | PlacePrefixes |
| Provides a lookup of prefixes to use when generating place names.
|
static readonly List< string > | PlaceInfixes |
| Provides a lookup on infixes to use when generating place names.
|
static readonly List< string > | PlaceSuffixes |
| Provides a lookup of suffixes to use when generating place names.
|
|
static List< string > | FirstNames [get] |
| Popular first names from over the world.
|
static List< string > | LastNames [get] |
| Common last names from over the world.
|
static List< string > | CompaniesWithInternetDomains [get] |
| Companies which have some internet presence.
|
static List< string > | TopLevelDomains [get] |
| All TLDs as at time of writing.
|
static List< string > | StreetSuffix [get] |
| Provides street suffixes.
|
static Dictionary< string, string > | CountryLookup [get] |
| Provides a lookup of country code to country name.
|
static List< string > | Countries [get] |
| Provides a list of countries.
|
static List< string > | CountryCodes [get] |
| All known country codes as at time of writing.
|
static List< string > | CityPrefixes [get] |
| Some prefixes for city names.
|
static List< string > | CitySuffixes [get] |
| Some suffixes for city names.
|
static string[] | LanguageNames [get] |
| Provides a list of language names.
|
static string[] | LanguageCodes [get] |
| Provides a list of language codes.
|
Provides modifiable sources of "natural" data.
◆ LanguageNameToLanguageCodeLookup
readonly Dictionary<string, string> PeanutButter.RandomGenerators.NaturalData.LanguageNameToLanguageCodeLookup |
|
static |
Provides a lookup of language names to their respective language codes.
◆ PlaceInfixes
readonly List<string> PeanutButter.RandomGenerators.NaturalData.PlaceInfixes |
|
static |
Initial value:=
[
"in",
"er",
"on",
"un",
"an"
]
Provides a lookup on infixes to use when generating place names.
◆ PlaceSuffixes
readonly List<string> PeanutButter.RandomGenerators.NaturalData.PlaceSuffixes |
|
static |
Initial value:=
[
"bourne",
"moor",
"bush",
"crest",
"way",
"mont",
"ley",
"beach",
"fall",
"marble",
"nesse",
"ley",
"shore",
"gate",
"loch",
"wyn",
"meadow",
"winter",
"summer",
"spring",
"wick",
"ston",
"wick",
"wall",
"ham",
"wheat",
"hollow"
]
Provides a lookup of suffixes to use when generating place names.
◆ CityPrefixes
List<string> PeanutButter.RandomGenerators.NaturalData.CityPrefixes |
|
staticget |
Initial value:=
[
"North",
"East",
"West",
"South",
"New",
"Lake",
"Port"
]
Some prefixes for city names.
◆ CitySuffixes
List<string> PeanutButter.RandomGenerators.NaturalData.CitySuffixes |
|
staticget |
Initial value:=
[
"town",
"ton",
"land",
"ville",
"berg",
"burgh",
"borough",
"bury",
"view",
"port",
"mouth",
"stad",
"furt",
"chester",
"mouth",
"fort",
"haven",
"side",
"shire"
]
Some suffixes for city names.
◆ Countries
List<string> PeanutButter.RandomGenerators.NaturalData.Countries |
|
staticget |
Initial value:=
static Dictionary< string, string > CountryLookup
Provides a lookup of country code to country name.
Definition NaturalData.cs:3988
Provides a list of countries.
◆ CountryCodes
List<string> PeanutButter.RandomGenerators.NaturalData.CountryCodes |
|
staticget |
Initial value:
All known country codes as at time of writing.
◆ LanguageCodes
string [] PeanutButter.RandomGenerators.NaturalData.LanguageCodes |
|
staticget |
Provides a list of language codes.
◆ LanguageNames
string [] PeanutButter.RandomGenerators.NaturalData.LanguageNames |
|
staticget |
Provides a list of language names.
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.RandomGenerators/NaturalData.cs