Beispiel #1
0
        static void Main(string[] args)
        {
            AskLeaveRequest request1 = new AskLeaveRequest("李江", 1.0);
            Approver        manager  = new Manager("mrs陈");
            Approver        Hr       = new HR("mr张");

            manager.NextApprover = Hr;
            manager.ProcessRequest(request1);
            Console.WriteLine("Hello World!");
        }