public AmendmentOutcome(OutcomeStatus status, string outcomeDescription) { OutcomeStatus = status; IsComplete = true; FurtherQuestions = null; OutcomeDescription = outcomeDescription; }
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; } }
public AmendmentOutcome(List <Question> furtherQuestion) { if (furtherQuestion == null) { FurtherQuestions = null; IsComplete = true; IsAmendmentCreated = false; } else { FurtherQuestions = furtherQuestion; OutcomeStatus = OutcomeStatus.AwaitingValidationPass; IsComplete = false; IsAmendmentCreated = false; } }
public ReportOutcome(OutcomeStatus result, string message, PositionReport positionReport) { Result = result; Message = message; PositionReport = positionReport; }
public AmendmentOutcome(OutcomeStatus status) { OutcomeStatus = status; IsComplete = true; FurtherQuestions = null; }
public ActionOutcome(OutcomeStatus status, string message = default) { Result = status; Message = message; }
public QuestionnaireOutcome(OutcomeStatus status) { OutcomeStatus = status; IsComplete = true; FurtherQuestions = null; }