示例#1
0
 public CoursesCounter(CoursesCounterId id, CoursesCounterTotal total, List <CourseId> existingCourses = null)
 {
     Id              = id;
     Total           = total;
     ExistingCourses = existingCourses ?? new List <CourseId>();
 }
示例#2
0
 public static CoursesCounter Initialize(CoursesCounterId id)
 {
     return(new CoursesCounter(id, CoursesCounterTotal.Initialize()));
 }