private DepartmentInfo()
 {
     IdToDepartment   = new OptionalDictionary <int, DepartmentModel>();
     NameToDepartment = new OptionalDictionary <string, DepartmentModel>();
     DeptIds          = new HashSet <int>();
     Lock             = new ReadWriteLock();
 }
예제 #2
0
 private CourseInfo()
 {
     CourseCodeToCourse = new OptionalDictionary <string, CourseModel>();
     CourseNameToCourse = new OptionalDictionary <string, CourseModel>();
     CourseCodes        = new HashSet <string>();
     Lock = new ReadWriteLock();
 }
예제 #3
0
        private TermInfo()
        {
            IdToTerm     = new OptionalDictionary <int, TermModel>();
            StringToTerm = new OptionalDictionary <string, TermModel>();
            Ids          = new SortedSet <int>();
            IdHashSet    = new HashSet <int>();

            Lock = new ReadWriteLock();
        }