Ejemplo n.º 1
0
        public ObservableCollection <Class> GetClassesForDay(DateTime date)
        {
            ObservableCollection <Class> ret = new ObservableCollection <Class>();

            foreach (Class UClass in classes)
            {
                if (UClass.MeetsOnDate(date))
                {
                    ret.Add(UClass);
                }
            }
            return(ret);
        }