public IBehaviors RemoveBehavior(IBehavior aBehavior) { CheckArg.Behavior(aBehavior); aBehavior.LinkBehaviors(null); fList.Remove(aBehavior); return(this); }
public IBehaviors AddBehavior(IBehavior aBehavior) { CheckArg.Behavior(aBehavior); aBehavior.LinkBehaviors(this); fList.Add(aBehavior); return(this); }
public IBehaviors BecomeBehavior(IBehavior aBehavior) { CheckArg.Behavior(aBehavior); fList.Clear(); aBehavior.LinkBehaviors(this); fList.Add(aBehavior); return(this); }
protected void RemoveBehavior(IBehavior aBehavior) { CheckArg.Behavior(aBehavior); AddMissedMessages(); fListBehaviors.Remove(aBehavior); }
public void RemoveBehavior(IBehavior aBehavior) { CheckArg.Behavior(aBehavior); aBehavior.LinkBehaviors(null); fList.Remove(aBehavior); }