コード例 #1
0
 public UserStatisticAggregate(
     Guid userId,
     EnglishMultimediaStatistic englishMultimediaStatistic,
     EnglishTaskStatistic englishTaskStatistic)
 {
     UserId = userId;
     EnglishMultimediaStatistic = englishMultimediaStatistic;
     EnglishTaskStatistic       = englishTaskStatistic;
     GeneralStatistic           = new GeneralStatistic(EnglishMultimediaStatistic.CompletedEnglishMultimedias, EnglishTaskStatistic.CompletedEnglishTasks);
 }
コード例 #2
0
 public TasksCorrectnessStatistic GetTasksCorrectnessStatistic()
 {
     return(EnglishTaskStatistic.GetTasksCorrectnessStatistic());
 }
コード例 #3
0
 public IReadOnlyList <PerEnglishLevelStatistic> GetTasksPerEnglishLevelStatistic()
 {
     return(EnglishTaskStatistic.GetTasksPerEnglishLevelStatistic());
 }