/// <summary> /// Creates a new MainViewModel. /// </summary> public MainViewModel(IDataCache cache, IIsAcademiaService isaService, ISecureRequestHandler requestHandler) : base(cache) { _isaService = isaService; _requestHandler = requestHandler; _weekDate = GetWeekStart(DateTime.Now); }
/// <summary> /// Creates a new MainViewModel. /// </summary> public MainViewModel(IDataCache cache, ISecureRequestHandler requestHandler, INavigationService navigationService, IMoodleService moodleService) : base(cache) { _requestHandler = requestHandler; _navigationService = navigationService; _moodleService = moodleService; }
public CourseViewModel(IDataCache cache, ISecureRequestHandler requestHandler, IMoodleService moodleService, IMoodleDownloader downloader, IFileStorage storage, IBrowserService browserService, Course course) : base(cache) { _requestHandler = requestHandler; _moodleService = moodleService; _downloader = downloader; _storage = storage; _browserService = browserService; Course = course; }
/// <summary> /// Initializes a new instance. /// </summary> public MainViewModel(ICamiproService camiproService, ISecureRequestHandler requestHandler) { _camiproService = camiproService; _requestHandler = requestHandler; }