Пример #1
0
 public GenerationOptions(bool useNumbers = false, bool useSpecialCharacters = true, int?length = null)
 {
     UseNumbers           = useNumbers;
     UseSpecialCharacters = useSpecialCharacters;
     Length = length ??
              RandomUtils.GenerateNumberInRange(Constants.MinimumAutoLength, Constants.MaximumAutoLength);
 }