// Business constructor public SessionEvaluationRating( SessionEvaluation evaluation ,RatingQuestion question ) { InitializeResults(); _evaluation = new PredecessorObj<SessionEvaluation>(this, GetRoleEvaluation(), evaluation); _question = new PredecessorObj<RatingQuestion>(this, GetRoleQuestion(), question); }
public CorrespondenceFact CreateFact(FactMemento memento) { SessionEvaluation newFact = new SessionEvaluation(memento); return newFact; }
// Fields // Results // Business constructor public SessionEvaluationCompleted( ConferenceSessionSurvey sessionSurvey ,SessionEvaluation sessionEvaluation ,IEnumerable<SessionEvaluationRatingAnswer> ratingAnswers ,IEnumerable<SessionEvaluationEssayAnswer> essayAnswers ) { InitializeResults(); _sessionSurvey = new PredecessorObj<ConferenceSessionSurvey>(this, GetRoleSessionSurvey(), sessionSurvey); _sessionEvaluation = new PredecessorObj<SessionEvaluation>(this, GetRoleSessionEvaluation(), sessionEvaluation); _ratingAnswers = new PredecessorList<SessionEvaluationRatingAnswer>(this, GetRoleRatingAnswers(), ratingAnswers); _essayAnswers = new PredecessorList<SessionEvaluationEssayAnswer>(this, GetRoleEssayAnswers(), essayAnswers); }
public SessionEvaluationViewModel(SessionEvaluation sessionEvaluation, ImageCache imageCache) { _sessionEvaluation = sessionEvaluation; _imageCache = imageCache; }