コード例 #1
0
 public SurveyQueuingViewModel(IDialogService dialogService,
                               INavigationService navigationService,
                               IApiService apiService,
                               IQueingFirebaseService queingFirebaseService)
 {
     this.dialogService     = dialogService;
     this.navigationService = navigationService;
     this.apiService        = apiService;
     this.queingFirebase    = queingFirebaseService;
 }
コード例 #2
0
        protected override void OnDisappearing()
        {
            base.OnDisappearing();
            VisiblePage = false;

            if (BindingContext is IQueuingViewModel viewModel)
            {
                if (viewModel.Qualify == false)
                {
                    IQueingFirebaseService queingFirebase = ServiceLocator.Current.GetInstance <IQueingFirebaseService>();
                    queingFirebase.GetOutSesionWaitingRoom(viewModel.patient.PatientServiceType, viewModel.requestMedicalService.PatientDocument);
                }
            }
        }