First import into fresh repo
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Activizr.Logic.Governance;
|
||||
|
||||
namespace Activizr.Utility.BotCode
|
||||
{
|
||||
public class InternalPollRandomizer
|
||||
{
|
||||
// Randomizes the order of candidates on the open polls.
|
||||
static public void Run()
|
||||
{
|
||||
|
||||
// TODO: Foreach open poll...
|
||||
|
||||
MeetingElectionCandidates candidates = MeetingElectionCandidates.ForPoll(MeetingElection.Primaries2010);
|
||||
|
||||
foreach (MeetingElectionCandidate candidate in candidates)
|
||||
{
|
||||
candidate.RandomizeSortOrder();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user