Exemple #1
0
        public void UnloadData()
        {
            if (!this.IsDataInitialized)
            {
                throw new ArgumentException(ExceptionMessages.DataNotInitializedExceptionMessage);
            }

            this.sorter            = null;
            this.courses           = null;
            this.isDataInitialized = false;
        }
Exemple #2
0
 public StudentsRepository(RepositorySorter sorter, RepositioryFilter filter)
 {
     this.filter = filter;
     this.sorter = sorter;
 }