Exemple #1
0
 public DiveApplicationViewModel(IDiveProfileService diveProfileService)
 {
     _diveProfileService      = diveProfileService;
     DivePlanSetup            = new DivePlanSetupViewModel(diveProfileService);
     CalculateDiveStepCommand = ReactiveCommand.Create(RunDiveStep, CanExecuteDiveStep); // create command
 }
 public DiveModelSelectorViewModel(IDiveProfileService diveProfileController)
 {
     IsUiVisible            = true;
     _diveProfileController = diveProfileController;
 }
Exemple #3
0
 public DivePlanSetupViewModel(IDiveProfileService diveProfileService)
 {
     _diveProfileService = diveProfileService;
     _diveModelSelector  = new DiveModelSelectorViewModel(_diveProfileService);
 }