Beispiel #1
0
 public RecycleBinViewModel(INavigationService navigationService, ILocalFileService localFileService,
                            ICloudFileService cloudFileService, IMessagesService messagesService)
 {
     _navigationService = navigationService;
     _localFileService  = localFileService;
     _cloudFileService  = cloudFileService;
     _messagesService   = messagesService;
 }
 public FileViewerViewModel(INavigationService navService, ICloudFileService cloudFileService
                            , ILocalFileService localFileService, IAuthService authService, IMessagesService messagesService)
 {
     _navigationService = navService;
     _cloudFileService  = cloudFileService;
     _localFileService  = localFileService;
     _authService       = authService;
     _messagesService   = messagesService;
     _cloudFileService.FileMetaDataChanged += OnFileMetaDataChanged;
 }
 public BaseController()
 {
     this.userService                     = new UserService();
     this.cloudinaryService               = new CloudinaryService("onlinesystemtesting", "198959495156847", "xaESFiOp5pYOqH4EbQOs_dhnaiY");
     this.courseService                   = new CourseService();
     this.studentService                  = new StudentService();
     this.postService                     = new PostService();
     this.requestToJoinService            = new RequestToJoinService();
     this.cloudFilesService               = new CloudFileService();
     this.courseImageService              = new CourseImageService();
     this.videoService                    = new VideoService();
     this.topicService                    = new TopicService();
     this.closeQuestionService            = new CloseQuestionService();
     this.imageService                    = new ImageService();
     this.closeAnswerService              = new CloseAnswerService();
     this.openQuestionService             = new OpenQuestionService();
     this.automaticTestService            = new AutomaticTestService();
     this.manualTestService               = new ManualTestService();
     this.testService                     = new TestService();
     this.solvedAutomaticTestService      = new SolvedAutomaticTestService();
     this.solvedCloseQuestionService      = new SolvedCloseQuestionService();
     this.autoTestForSolvingService       = new AutomaticTestForSolvingService();
     this.markService                     = new MarkService();
     this.manualTestForSolvingService     = new ManualTestForSolvingService();
     this.solvedManualTestService         = new SolvedManualTestService();
     this.solvedOpenQuestionService       = new SolvedOpenQuestionService();
     this.alphabetFunctions               = new AlphabetFuncions();
     this.studentCompletedCoursesService  = new StudentCompletedCourseService();
     this.importQuestionService           = new ImportQuestionService();
     this.exportTestService               = new ExportTestService();
     this.notificationService             = new NotificationService();
     this.courseLevelService              = new CourseLevelService();
     this.levelTestForSolvingService      = new LevelTestForSolvingService();
     this.solvedManualTestForLevelService = new SolvedManualTestForLevelService();
     this.convertResource                 = new ConvertResource();
 }
 public CloudStorageController(IServiceProvider serviceProvider, ILogger <CloudStorageController> logger, ICloudFileService fileService)
 {
     _serviceProvider = serviceProvider;
     _logger          = logger;
     _fileService     = fileService;
 }