예제 #1
0
 public static Session BuildNewSession()
 {
  Session session = new Session();
  for (int i = 0; i <  ABVFeedback.Utils.Settings.NumberOfTrials; i++)
  {
   session.Trials.Add(BuildCurrentTrial(i));
  }
  session = ShuffleSessionTrials(session);
  return session;
 }
예제 #2
0
 private static Session ShuffleSessionTrials(Session session)
 {
  session.Trials = session.Trials.OrderBy(item => r.Next()).ToList();
  return session;
 }