예제 #1
0
        public Ballot createBallot(BallotInstructions instructions)
        {
            Ballot ballot = viewpoint.createBallot(instructions);

            ballot.voter = this;

            if (Tweakables.PRINT_BALLOTS)
            {
                System.Console.WriteLine(ToString() + " " + ballot.ToString());
            }

            return(ballot);
        }
예제 #2
0
        public string GetLogString()
        {
            string ballotString = Ballot != null?Ballot.ToString() : string.Empty;

            return($"Ballot={ballotString} | Choice={Choice ?? string.Empty}");
        }