예제 #1
0
        protected override string RenderModerationVotes()
        {
            string output = "";

            foreach (KeyValuePair <int, BoardVote> currentOption in PollVotes)
            {
                output += "\n" + RenderUserForModeration(currentOption.Key, currentOption.Value.Name) + currentOption.Value.Text
                          + "\n  /delete_" + HashWorker.Base53Encode(PollId + ":" + currentOption.Key + ":" + CRC32.HashCRC32(currentOption.Value.Text)) + "\n";
            }
            return(output);
        }
예제 #2
0
        protected virtual string RenderModerationVotes()
        {
            string output     = "";
            int    loopCycles = 0;

            foreach (KeyValuePair <string, List <User> > currentOption in PollVotes)
            {
                output += RenderOptionTitle(currentOption, noApproximation: true, moderate: true)
                          + "/delete_" + HashWorker.Base53Encode(PollId + ":" + loopCycles + ":" + CRC32.HashCRC32(currentOption.Key)) + "\n";
                loopCycles++;
            }
            return(output);
        }