Esempio n. 1
0
 public override string GetValue(TaskRandom rnd)
 {
     if (String.IsNullOrEmpty(Values))
     {
         return(((char)(byte)rnd.NextRange((byte)Minimum, (byte)Maximum)).ToString());
     }
     return(Values[rnd.NextInt(Values.Length)].ToString());
 }
Esempio n. 2
0
 public override string GetValue(TaskRandom rnd) => rnd.NextRange(Minimum, Maximum).ToString();