Example #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);
        }
        public string GetLogString()
        {
            string ballotString = Ballot != null?Ballot.ToString() : string.Empty;

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