Ejemplo n.º 1
0
 public BoardingPassStorageService(IRegistryService registryService, IWorkspaceStorageService workspaceStorageService, IPinCodeStorageService pinCodeStorageService, IHandInFileMetadataStorageService handInFileMetadataStorageService, IHandInFieldIdStorageService handInFieldIdStorageService)
 {
     this._registryService                  = registryService;
     this._workspaceStorageService          = workspaceStorageService;
     this._pinCodeStorageService            = pinCodeStorageService;
     this._handInFileMetadataStorageService = handInFileMetadataStorageService;
     this._handInFieldIdStorageService      = handInFieldIdStorageService;
 }
Ejemplo n.º 2
0
 public SubmitHandInViewModel(ILastSaveViewModel lastSaveViewModel, IExamTimeLeftViewModel examTimeLeftViewModel, ILanguageService languageService, IHandInFieldValueStorageService handInFieldValueStorageService, IHandInFileSelectorViewModel handInFileSelectorViewModel, IMessenger messenger, IHandInFileService handInFileService, IBoardingPassStorageService boardingPassStorageService, IHandInFieldIdStorageService handInFieldIdStorageService, IHeartbeatService heartbeatService)
 {
     this._languageService = languageService;
     this._handInFieldValueStorageService = handInFieldValueStorageService;
     this._messenger                   = messenger;
     this._handInFileService           = handInFileService;
     this._boardingPassStorageService  = boardingPassStorageService;
     this._handInFieldIdStorageService = handInFieldIdStorageService;
     this._heartbeatService            = heartbeatService;
     this.LastSaveViewModel            = lastSaveViewModel;
     this.ExamTimeLeftViewModel        = examTimeLeftViewModel;
     this.HandInFileSelectorViewModel  = handInFileSelectorViewModel;
     this._messenger.Register <OnInitiateSubmitHandIn>((object)this, new Action <OnInitiateSubmitHandIn>(this.OnInitiateSubmitHandIn));
     this.PreviousViewCommand = (ICommand) new RelayCommand((Action <object>)(c => this.PreviousViewClick()), (Predicate <object>)null);
     this.NextViewCommand     = (ICommand) new RelayCommand((Action <object>)(c => this.NextViewClick()), (Predicate <object>)null);
     this._messenger.Register <OnHandInFieldsLoaded>((object)this, new Action <OnHandInFieldsLoaded>(this.OnHandInFieldsLoaded));
     this._messenger.Register <OnHandInFieldInputLostFocus>((object)this, new Action <OnHandInFieldInputLostFocus>(this.OnHandInFieldInputLostFocus));
 }