protected override void DoJob(Request request)
 {
     Console.WriteLine("ConcreteHandlerB's RequestLevel is {0},Request's message is {1}.", GetHandlerLevel(), request.GetRequestMessage());
 }
 public void Process(Request request)
 {
     if (HandlerLevel == request.GetRequestLevel())
     {
         DoJob(request);
     }
     else
     {
         if (NextHandler != null)
         {
             NextHandler.DoJob(request);
         }
     }
 }
 protected abstract void DoJob(Request request);