// ********************************************************************* // Vote // /// <summary> // Get Poll Details reads the XML file (or cache) // and fills an instance class with details /// </summary> // ***********************************************************************/ public Vote(int postID, string postSubject, string postBody) { this.postID = postID; voteResults = Votes.GetVoteResults(postID); voteDetails = new VoteDetails(postID, postSubject, postBody); }