예제 #1
0
 protected void Delivery(LeaveRequest request)
 {
     Chain.DoChain(request);
 }
예제 #2
0
 public abstract void ProcessRequest(LeaveRequest request);
예제 #3
0
 public void HandleRequest(LeaveRequest leaveRequest)
 {
     Console.WriteLine("HR: Leave Approved");
 }
예제 #4
0
 public void HandleRequest(LeaveRequest leaveRequest)
 {
     Console.WriteLine("Leave approved by HR.");
 }
예제 #5
0
 public void HandlerRequest(LeaveRequest leave)
 {
     Console.WriteLine("HR Approved" + " leave for " + leave.LeaveDays + " days to " + leave.Employee);
 }