internal CourseStudentSummary(CourseStudentSummaryModel model)
 {
     Id                  = model.Id;
     PageViews           = model.PageViews;
     MaxPageViews        = model.MaxPageViews;
     PageViewsLevel      = model.PageViewsLevel;
     Participations      = model.Participations;
     MaxParticipations   = model.MaxParticipations;
     ParticipationsLevel = model.ParticipationsLevel;
     TardinessBreakdown  = model.TardinessBreakdown.ConvertIfNotNull(m => new Tardiness(m));
 }
Exemple #2
0
 internal CourseAssignmentSummary(CourseAssignmentSummaryModel model)
 {
     AssignmentId         = model.AssignmentId;
     Title                = model.Title;
     DueAt                = model.DueAt;
     UnlockAt             = model.UnlockAt;
     Muted                = model.Muted;
     PointsPossible       = model.PointsPossible;
     NonDigitalSubmission = model.NonDigitalSubmission;
     MaxScore             = model.MaxScore;
     MinScore             = model.MinScore;
     FirstQuartile        = model.FirstQuartile;
     Median               = model.Median;
     ThirdQuartile        = model.ThirdQuartile;
     TardinessBreakdown   = model.TardinessBreakdown.ConvertIfNotNull(m => new Tardiness(m));
 }