void Randomize <T>(MDTable <T> table) where T : IRawRow { List <T> rows = table.ToList(); random.Shuffle(rows); table.Reset(); foreach (T row in rows) { table.Add(row); } }
private void Randomize <T>(MDTable <T> table) where T : IRawRow { List <T> list = table.ToList <T>(); this.random.Shuffle <T>(list); table.Reset(); foreach (T current in list) { table.Add(current); } }