예제 #1
0
 // Business constructor
 public SessionEvaluationRating(
     SessionEvaluation evaluation
     ,RatingQuestion question
     )
 {
     InitializeResults();
     _evaluation = new PredecessorObj<SessionEvaluation>(this, GetRoleEvaluation(), evaluation);
     _question = new PredecessorObj<RatingQuestion>(this, GetRoleQuestion(), question);
 }
예제 #2
0
            public CorrespondenceFact CreateFact(FactMemento memento)
            {
                SessionEvaluation newFact = new SessionEvaluation(memento);

                return newFact;
            }
예제 #3
0
 // 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;
 }