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;
 }
Exemple #2
0
        public StudentsRepository(RepositoryFilter filter, RepositorySorter sorter)
        {
            if (this.IsDataInitialized)
            {
                throw new DataAlreadyInitializedException();
            }

            this.filter = filter;
            this.sorter = sorter;
        }
Exemple #3
0
 public StudentsRepository(RepositorySorter sorter, RepositoryFilter filter)
 {
     this.filter = filter;
     this.sorter = sorter;
 }
 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;
 }