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; }
public DivePlanSetupViewModel(IDiveProfileService diveProfileService) { _diveProfileService = diveProfileService; _diveModelSelector = new DiveModelSelectorViewModel(_diveProfileService); }