コード例 #1
0
        public override void DoWork()
        {
            //Debugger.Launch();
            _patientManager = new PatientManager();


            CLRCommunicationProxy proxy = GetCommunicationProxy() as CLRCommunicationProxy;

            proxy.RegisterCommandHandler(90001, new PatientCommandHandler(_patientManager));


            Console.WriteLine("Do work!");
        }
コード例 #2
0
 static void Main(string[] args)
 {
     PatientManager patientManager = new PatientManager();
 }
コード例 #3
0
 public PatientCommandHandler(PatientManager patientManager)
 {
     _patientManager = patientManager;
 }