Exemple #1
0
 public UserDisplayViewModel(StatusInfoViewModel status, IWindowManager window, IEventAggregator events, IUserEndpoint userEndpoint)
 {
     _status       = status;
     _window       = window;
     _events       = events;
     _userEndpoint = userEndpoint;
 }
Exemple #2
0
 public PatientAddViewModel(IPatientEndpoint patientEndpoint, IEventAggregator events, StatusInfoViewModel status, IWindowManager window)
 {
     _status          = status;
     _window          = window;
     _events          = events;
     _patientEndpoint = patientEndpoint;
 }
 public UserAddViewModel(IWindowManager window, StatusInfoViewModel status, IEventAggregator events, IUserEndpoint userEndpoint, IAPIHelper apiHelper)
 {
     _window       = window;
     _status       = status;
     _events       = events;
     _userEndpoint = userEndpoint;
     _apiHelper    = apiHelper;
 }
Exemple #4
0
 public SmsViewModel(StatusInfoViewModel status,
                     IWindowManager window, IMapper mapper, IEventAggregator events, IPatientEndpoint patientEndpoint, ISmsEndpoint smsEndpoint)
 {
     _status          = status;
     _mapper          = mapper;
     _window          = window;
     _events          = events;
     _patientEndpoint = patientEndpoint;
     _smsEndpoint     = smsEndpoint;
 }
 public DashboardViewModel(IUserEndpoint userEndpoint, IPatientEndpoint patientEndpoint, IPrescriptionEndpoint prescriptionEndpoint, StatusInfoViewModel status, IWindowManager window, IMapper mapper, IEventAggregator events)
 {
     _userEndpoint         = userEndpoint;
     _patientEndpoint      = patientEndpoint;
     _prescriptionEndpoint = prescriptionEndpoint;
     _status = status;
     _window = window;
     _mapper = mapper;
     _events = events;
 }
Exemple #6
0
        public PrescriptionAddViewModel(IPatientEndpoint patientEndpoint, IPrescriptionEndpoint prescriptionEndpoint,
                                        StatusInfoViewModel status, IWindowManager window, IAPIHelper apiHelper, IEventAggregator eventAggregator)
        {
            _status    = status;
            _window    = window;
            _apiHelper = apiHelper;
            _events    = eventAggregator;

            _patientEndpoint      = patientEndpoint;
            _prescriptionEndpoint = prescriptionEndpoint;


            /*       PatientId = _patient?.ID.ToString();
             *     PatientFirstName = _patient?.FirstName;
             *     PatientLastName = _patient?.LastName;*/
        }