Exemple #1
0
        static void Main(string[] args)
        {
            //using (var client = SimulationApplication.Create().ConfigureFilesEventStore("c:\\SimulatorStore").Run())
            using (var client = SimulationApplication.Create().ConfigureInMemoryStore().Run())
            {
                var token = CancellationToken.None;

                client.SeedWithHistoricalEvents();

                var patient  = client.RegisterCancerPatientWithHeadAndNeckTopography("PatientA");
                var patientB = client.RegisterCancerPatientWithBreastTopography("PatientB");
                var patientC = client.RegisterFluPatient("PatientC");

                var registeredPatients    = client.GetRegisteredPatients();
                var scheduleConsultations = client.GetScheduledConsultations();

                Console.WriteLine("\n\n\tExcellent!!");
            }

            Console.ReadKey();
        }
Exemple #2
0
 protected DomainTestBase(ITestOutputHelper output)
 {
     _output     = output;
     this.Client = SimulationApplication.Create().ConfigureInMemoryStore().Run();
 }