Example #1
0
 public AmendmentOutcome(OutcomeStatus status, string outcomeDescription)
 {
     OutcomeStatus      = status;
     IsComplete         = true;
     FurtherQuestions   = null;
     OutcomeDescription = outcomeDescription;
 }
Example #2
0
 public AmendmentOutcome(List <Question> questions, Dictionary <string, List <string> > errors)
 {
     IsComplete       = false;
     FurtherQuestions = questions;
     ValidationErrors = errors;
     OutcomeStatus    = OutcomeStatus.AwaitingValidationPass;
 }
 public QuestionnaireOutcome(List <Question> questions, Dictionary <string, ICollection <string> > errors)
 {
     IsComplete       = false;
     FurtherQuestions = questions;
     ValidationErrors = errors;
     OutcomeStatus    = OutcomeStatus.AwaitingValidationPass;
 }
 public QuestionnaireOutcome(List <Question> furtherQuestion)
 {
     if (furtherQuestion == null)
     {
         FurtherQuestions = null;
         IsComplete       = true;
     }
     else
     {
         FurtherQuestions = furtherQuestion;
         OutcomeStatus    = OutcomeStatus.AwaitingValidationPass;
         IsComplete       = false;
     }
 }
Example #5
0
 public AmendmentOutcome(List <Question> furtherQuestion)
 {
     if (furtherQuestion == null)
     {
         FurtherQuestions   = null;
         IsComplete         = true;
         IsAmendmentCreated = false;
     }
     else
     {
         FurtherQuestions   = furtherQuestion;
         OutcomeStatus      = OutcomeStatus.AwaitingValidationPass;
         IsComplete         = false;
         IsAmendmentCreated = false;
     }
 }
Example #6
0
 public ReportOutcome(OutcomeStatus result, string message, PositionReport positionReport)
 {
     Result         = result;
     Message        = message;
     PositionReport = positionReport;
 }
Example #7
0
 public AmendmentOutcome(OutcomeStatus status)
 {
     OutcomeStatus    = status;
     IsComplete       = true;
     FurtherQuestions = null;
 }
Example #8
0
 public ActionOutcome(OutcomeStatus status, string message = default)
 {
     Result  = status;
     Message = message;
 }
 public QuestionnaireOutcome(OutcomeStatus status)
 {
     OutcomeStatus    = status;
     IsComplete       = true;
     FurtherQuestions = null;
 }