Example #1
0
 protected virtual void OnBehaviorRemoved(Behavior removedBehavior)
 {
     if (BehaviorRemoved != null)
     {
         BehaviorRemoved(this,new BehaviorEventArgs(removedBehavior));
     }
 }
Example #2
0
 protected virtual void OnBehaviorAdded(Behavior addedBehavior)
 {
     if(BehaviorAdded!=null)
     {
         BehaviorAdded(this, new BehaviorEventArgs(addedBehavior));
     }
 }
Example #3
0
 public BehaviorException(Behavior behavior)
 {
     mBehavior = behavior;
 }
Example #4
0
 public BehaviorException(Behavior behavior,string message)
     : base(message)
 {
     mBehavior = behavior;
 }
Example #5
0
 public BehaviorEventArgs(Behavior behavior)
 {
     mBehavior = behavior;
 }