public StudentsRepository(RepositoryFilter filter, RepositorySorter sorter)
 {
     this.courses        = new Dictionary <string, ICourse>();
     this.students       = new Dictionary <string, IStudent>();
     this.filter         = filter;
     this.sorter         = sorter;
     this.isDataInilized = false;
 }
Example #2
0
        public StudentsRepository(RepositoryFilter filter, RepositorySorter sorter)
        {
            if (this.IsDataInitialized)
            {
                throw new DataAlreadyInitializedException();
            }

            this.filter = filter;
            this.sorter = sorter;
        }
Example #3
0
 public StudentsRepository(RepositorySorter sorter, RepositoryFilter filter)
 {
     this.filter = filter;
     this.sorter = sorter;
 }
Example #4
0
 public StudentsRepository(RepositorySorter sorter, RepositoryFilter filter)
 {
     this.filter          = filter;
     this.sorter          = sorter;
     this.studentByCourse = new Dictionary <string, Dictionary <string, List <int> > >();
 }
 public StudentsRepository(RepositorySorter repoSorter, RepositoryFilter repoFilter)
 {
     this.filter = repoFilter;
     this.sorter = repoSorter;
 }