public void NextSession() { List<Voter> tempList = currentEvent.GetValidVoters(); currentEvent = new VoteEvent(voteEvents++, "Followed Collection", tempList); EventProvider.AddEvent(ref currentEvent); currentEvent.AddCandidate(new Candidate(0, "A")); currentEvent.AddCandidate(new Candidate(1, "B")); }
public void NewSession() { currentEvent = new VoteEvent(voteEvents++, "New Round"); EventProvider.AddEvent(ref currentEvent); currentEvent.AddCandidate(new Candidate(0, "A")); currentEvent.AddCandidate(new Candidate(1, "B")); started = false; }
public static void AddEvent(ref VoteEvent v) { myEvents.Add(v); }