Exemplo n.º 1
0
 public IBehaviors RemoveBehavior(IBehavior aBehavior)
 {
     CheckArg.Behavior(aBehavior);
     aBehavior.LinkBehaviors(null);
     fList.Remove(aBehavior);
     return(this);
 }
Exemplo n.º 2
0
 public IBehaviors AddBehavior(IBehavior aBehavior)
 {
     CheckArg.Behavior(aBehavior);
     aBehavior.LinkBehaviors(this);
     fList.Add(aBehavior);
     return(this);
 }
Exemplo n.º 3
0
 public IBehaviors BecomeBehavior(IBehavior aBehavior)
 {
     CheckArg.Behavior(aBehavior);
     fList.Clear();
     aBehavior.LinkBehaviors(this);
     fList.Add(aBehavior);
     return(this);
 }
Exemplo n.º 4
0
 protected void RemoveBehavior(IBehavior aBehavior)
 {
     CheckArg.Behavior(aBehavior);
     AddMissedMessages();
     fListBehaviors.Remove(aBehavior);
 }
Exemplo n.º 5
0
 public void RemoveBehavior(IBehavior aBehavior)
 {
     CheckArg.Behavior(aBehavior);
     aBehavior.LinkBehaviors(null);
     fList.Remove(aBehavior);
 }