コード例 #1
0
 public void OnGenerateAlphaNumericStrings()
 {
     if (includeSpacesToggle.isOn)
     {
         if (hasCasing)
         {
             GenerateStrings(() => _random.AlphaNumericString(stringLength, casing, ' ', spaceFrequency));
         }
         else
         {
             GenerateStrings(() => _random.AlphaNumericString(stringLength, ' ', spaceFrequency));
         }
     }
     else
     {
         if (hasCasing)
         {
             GenerateStrings(() => _random.AlphaNumericString(stringLength, casing));
         }
         else
         {
             GenerateStrings(() => _random.AlphaNumericString(stringLength));
         }
     }
 }