Exemple #1
0
 // 命令执行方法,将调用请求接受者的业务方法
 public override void Execute()
 {
     if (hander != null)
     {
         hander.Display();
     }
 }
Exemple #2
0
 public override void Execute()
 {
     if (helpHandler != null)
     {
         helpHandler.Display();
     }
 }