コード例 #1
0
 public ResettableRandom(string seed)
     : this(StringHash.StableHash(seed))
 {
 }
コード例 #2
0
 /// <summary>
 /// Reseeds this instance using the hashcode of a given string.
 /// </summary>
 /// <param name="seed"></param>
 public void Reseed(string seed)
 {
     Reseed(StringHash.StableHash(seed));
 }