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