예제 #1
0
 public object GenerateField(ref FieldGeneratorOptions opts)
 {
     return($"{GeneratorsStatic.Random.Next(10000)} {Words.RandomWord().FirstCharToUpper()}" +
            $"{(GeneratorsStatic.Random.Next(5) == 0 ? "" : " " + Words.RandomWord().FirstCharToUpper())} " +
            $"{_streetTypes[GeneratorsStatic.Random.Next(_streetTypes.Count)]}");
 }
예제 #2
0
 public object GenerateField(ref FieldGeneratorOptions opts)
 {
     return(Words.RandomWord().FirstCharToUpper().Replace("'", "") + " " +
            _suffixes[GeneratorsStatic.Random.Next(_suffixes.Count)]);
 }
예제 #3
0
 public object GenerateField(ref FieldGeneratorOptions opts)
 {
     return($"{Words.RandomSafeCharsWord().ToLower()}" +
            $"{(GeneratorsStatic.Random.Next(2) == 0 ? "" : GeneratorsStatic.Random.Next(100).ToString())}@" +
            $"{Words.RandomSafeCharsWord().ToLower()}.{_tlds[GeneratorsStatic.Random.Next(_tlds.Count)]}");
 }