Exemple #1
0
 private void btnGenerateName_Click(object sender, EventArgs e)
 {
     lblGeneratedName.Text =
         CultureInfo.CurrentCulture.TextInfo.ToTitleCase(RandomNameGenerator.GenerateName(_threadRandom, 4, 5) + " the " +
                                                         //RandomNameGenerator.PickStringFromList(_threadRandom, StringListEnum.Color) + "-colored " +
                                                         RandomNameGenerator.PickStringFromList(_threadRandom, StringListEnum.Adjective) + " " +
                                                         RandomNameGenerator.PickStringFromList(_threadRandom, StringListEnum.Verb) + " " +
                                                         RandomNameGenerator.PickStringFromList(_threadRandom, StringListEnum.Animal));
 }
Exemple #2
0
 public string GenerateStateName()
 {
     return(RandomNameGenerator.GenerateName(ThreadRandom, 5, 5) + " " + RandomNameGenerator.PickStringFromList(ThreadRandom, StringListEnum.Animal));
 }
Exemple #3
0
 public string GenerateFsmNetworkName()
 {
     return(RandomNameGenerator.GenerateName(ThreadRandom, 5, 5) + " " + RandomNameGenerator.PickStringFromList(ThreadRandom, StringListEnum.Color));
 }
Exemple #4
0
 public string GenerateFsmName()
 {
     return(RandomNameGenerator.GenerateName(ThreadRandom, 5, 5) + " " + RandomNameGenerator.PickStringFromList(ThreadRandom, StringListEnum.Adjective));
 }
Exemple #5
0
 public string GenerateFsmEnsembleName()
 {
     return(RandomNameGenerator.GenerateName(ThreadRandom, 5, 5) + " " + RandomNameGenerator.PickStringFromList(ThreadRandom, StringListEnum.Verb));
 }