コード例 #1
0
        public bool ConfigurePollMonitor()
        {
            bool ret = false;

            QuestionWorker questionWorker = new QuestionWorker();

            return(ret);
        }
コード例 #2
0
        public List <string> GetPollResults(string questionID)
        {
            List <string> ret = null;

            QuestionWorker worker = new QuestionWorker();

            ret = worker.GetPollResults(questionID);

            return(ret);
        }
コード例 #3
0
        public bool SaveAnswer(PollUserAnswer answer)
        {
            bool ret = false;

            QuestionWorker worker = new QuestionWorker();

            ret = worker.SaveAnswer(answer);

            return(ret);
        }
コード例 #4
0
 public void GetsActivePollQuestion()
 {
     ePoll.Types.PollQuestion   activeQuestion;
     ePollWorker.QuestionWorker question = new QuestionWorker();
     activeQuestion = question.GetActiveQuestion();
     if (activeQuestion != null)
     {
         Assert.IsTrue(activeQuestion.Active, "No Active Question");
     }
     else
     {
         Assert.Fail("Poll Question is null");
     }
 }
コード例 #5
0
        public PollQuestion GetActiveQuestion()
        {
            QuestionWorker questionWorker = new QuestionWorker();

            return(questionWorker.GetActiveQuestion());
        }