public StrategyContext(StrategyBase s)

        {
            this.strategy = s;
        }
Beispiel #2
0
 public void Invoke(State eParam, string sParam, StrategyBase strategyBase)
 {
     //可以在执行前 做额外的逻辑
     strategyBase.Invoke(eParam, sParam);
 }