public AStrategy And(AStrategy strategy) { lock (_and_strategies) { _and_strategies.AddLast(strategy); } return(this); }
public AStrategy Or(AStrategy strategy) { lock (_or_strategies) { _or_strategies.AddLast(strategy); } return(this); }
/// <summary> /// 移除与策略 /// </summary> /// <param name="strategy"></param> /// <returns></returns> public AStrategy RemoveAnd(AStrategy strategy) { return(RemoveAnd(strategy.GetType())); }