public AddUpdateNoticeViewModel(INoticeHandler noticeHandler, ICourseHandler courseHandler, IPreferenceEngine preferenceEngine) { _noticeHandler = noticeHandler; _courseHandler = courseHandler; PostTypes = Enum.GetValues(typeof(PostType)).Cast <PostType>(); DBFiles = new ObservableCollection <DBFile>(); _preferneceEngine = preferenceEngine; }
public async Task SetUp() { LogEngine.IsDetailed = true; var http = new Mobile.Core.Worker.HttpWorker(TestConstants.WebAddress); member = new MemberEngine(http); courseHandler = new CourseEngine(http); await member.Login("181909", "qbQ890ZC"); }
public AddUpdateCourseViewModel(ICourseHandler courseHandler, IPreferenceEngine preferenceEngine, ILessonHandler lessonHandler) { _courseHandler = courseHandler; _lessonHandler = lessonHandler; _filePicker = preferenceEngine; Lessons = new ObservableCollection <Lesson>(); DBFiles = new ObservableCollection <DBFile>(); }
public CoursesController(ICourseHandler courseHandler) { _courseHandler = courseHandler; }
public AdminController(ICourseHandler _ch) { this.CourseHandler = _ch; }
public CoursesViewModel(ICourseHandler courseHandler) { _courseHandler = courseHandler; }
public SemesterViewModel(ICourseHandler courseHandler) { _courseHandler = courseHandler; }
public CourseController(ICourseHandler _ch) { this.CourseHandler = _ch; }
public CourseDetailViewModel(ICourseHandler courseHandler, IPreferenceEngine preferenceEngine) { _courseHandler = courseHandler; _preferenceEngine = preferenceEngine; }