public UpdateEvaluationToolCommand(Guid id, string name, ETypeEvaluationTool type, ICollection<Question> question) { this.Id = id; this.Name = name; this.Type = type; this.Question = question; }
public UpdateEvaluationToolCommand(Guid id, string name, ETypeEvaluationTool type, ICollection <Question> question) { this.Id = id; this.Name = name; this.Type = type; this.Question = question; }
public CreateEvaluationToolCommand(string name, ETypeEvaluationTool type, ICollection <Question> question, ICollection <Coach> coach, string author) { this.Name = name; this.Type = type; this.Question = question; this.Coach = coach; this.Author = author; }
public CreateEvaluationToolCommand(string name, ETypeEvaluationTool type, ICollection<Question> question, ICollection<Coach> coach, string author) { this.Name = name; this.Type = type; this.Question = question; this.Coach = coach; this.Author = author; }
public List<Question> AddToEvaluationTool(dynamic body, ETypeEvaluationTool type) { if (type == ETypeEvaluationTool.Questionnaire) return AddToEvaluationToolQuestionnaire(body); else if (type == ETypeEvaluationTool.Script) return AddToEvaluationToolScript(body); else if (type == ETypeEvaluationTool.Wheel) return AddToEvaluationToolWheel(body); else return null; }
public List <Question> AddToEvaluationTool(dynamic body, ETypeEvaluationTool type) { if (type == ETypeEvaluationTool.Questionnaire) { return(AddToEvaluationToolQuestionnaire(body)); } else if (type == ETypeEvaluationTool.Script) { return(AddToEvaluationToolScript(body)); } else if (type == ETypeEvaluationTool.Wheel) { return(AddToEvaluationToolWheel(body)); } else { return(null); } }
public static bool ChangeTypeScopeIsValid(this EvaluationTool evaluationTool, ETypeEvaluationTool type) { return AssertionConcern.IsSatisfiedBy( AssertionConcern.AssertArgumentNotNull(evaluationTool.Type, Errors.TypeIsRequired) ); }
public static bool ChangeTypeScopeIsValid(this EvaluationTool evaluationTool, ETypeEvaluationTool type) { return(AssertionConcern.IsSatisfiedBy( AssertionConcern.AssertArgumentNotNull(evaluationTool.Type, Errors.TypeIsRequired) )); }