public UsersBoughtCoursesDetailVM(MCourse course, INavigation nav) { this.Navigation = nav; Course = course; GetReview(); ShowDetailCommand = new Command(async() => await ShowDetail()); }
public CourseSaleList(MUser user, MCourse course) { _user = user; _course = course; SignedInUser.User = _user; InitializeComponent(); }
public CourseAddCategoryForSubcategory(MUser user, MCourse course) { _course = course; _user = user; CurrentCourse.Course = _course; SignedInUser.User = _user; InitializeComponent(); }
public CourseList(MUser user, MCourse course) { _course = course; _user = user; SignedInUser.User = _user; CurrentCourse.Course = _course; InitializeComponent(); }
public CourseDetailPage(MCourse course) { InitializeComponent(); BindingContext = model = new CourseDetailVM(this.Navigation) { Course = course }; }
public PaymentPage(MCourse course, MUser user) { InitializeComponent(); _user = user; SignedInUser.User = user; var nav = new NavigationPage(new CoursesPage(_user)); navigation = nav.Navigation; BindingContext = model = new PaymentVM(navigation) { Course = course }; }
public static bool Remove(MCourse item) { var itemToRemove = LikedCourses.Where(i => i.CourseID == item.CourseID).FirstOrDefault(); return(LikedCourses.Remove(itemToRemove)); }
public VideoPlayerPreviewVM(MCourse course) { Course = course; }
public CourseDetailVM(MCourse course) { Course = course; InitCommand = new Command(async() => await InitLectures()); }
public VideoPlayerPreviewPage(MCourse course) { InitializeComponent(); BindingContext = model = new VideoPlayerPreviewVM(course); }
public UserBoughtCoursesDetailPage(MCourse course) { InitializeComponent(); BindingContext = model = new UsersBoughtCoursesDetailVM(course, this.Navigation); }