public ClassificationSummary(string subjectLocation, ClassificationCounts counts, List <AnswerButton> currentAnswers, AnswerButton selectedAnswer, string summaryString) { CurrentAnswers = ParseAnswerCounts(currentAnswers, counts); SelectedAnswer = selectedAnswer; SubjectLocation = subjectLocation; SummaryString = summaryString; TotalVotes = counts.Total; if (TotalVotes > 10) { VoteLimit = counts.Total; } }
public CompletedClassification(AnswerButton answer, TableUser user, string subjectId) { Answer = answer.Label; User = user; SubjectId = subjectId; }