private AlertHelper() { _patientAlertTests = new List <IPatientAlert>(); var patientEP = new PatientAlertExtensionPoint(); foreach (var test in patientEP.CreateExtensions()) { _patientAlertTests.Add((IPatientAlert)test); } _patientProfileAlertTests = new List <IPatientProfileAlert>(); var ppXP = new PatientProfileAlertExtensionPoint(); foreach (var test in ppXP.CreateExtensions()) { _patientProfileAlertTests.Add((IPatientProfileAlert)test); } _orderAlertTests = new List <IOrderAlert>(); var orderEP = new OrderAlertExtensionPoint(); foreach (var test in orderEP.CreateExtensions()) { _orderAlertTests.Add((IOrderAlert)test); } _externalPractitionerAlertTests = new List <IExternalPractitionerAlert>(); var extPracEP = new ExternalPractitionerAlertExtensionPoint(); foreach (var test in extPracEP.CreateExtensions()) { _externalPractitionerAlertTests.Add((IExternalPractitionerAlert)test); } }
private AlertHelper() { _patientAlertTests = new List<IPatientAlert>(); var patientEP = new PatientAlertExtensionPoint(); foreach (var test in patientEP.CreateExtensions()) { _patientAlertTests.Add((IPatientAlert)test); } _patientProfileAlertTests = new List<IPatientProfileAlert>(); var ppXP = new PatientProfileAlertExtensionPoint(); foreach (var test in ppXP.CreateExtensions()) { _patientProfileAlertTests.Add((IPatientProfileAlert)test); } _orderAlertTests = new List<IOrderAlert>(); var orderEP = new OrderAlertExtensionPoint(); foreach (var test in orderEP.CreateExtensions()) { _orderAlertTests.Add((IOrderAlert)test); } _externalPractitionerAlertTests = new List<IExternalPractitionerAlert>(); var extPracEP = new ExternalPractitionerAlertExtensionPoint(); foreach (var test in extPracEP.CreateExtensions()) { _externalPractitionerAlertTests.Add((IExternalPractitionerAlert)test); } }