コード例 #1
0
ファイル: Task.cs プロジェクト: hackestyy/study
 protected virtual void OnBehaviorRemoved(Behavior removedBehavior)
 {
     if (BehaviorRemoved != null)
     {
         BehaviorRemoved(this,new BehaviorEventArgs(removedBehavior));
     }
 }
コード例 #2
0
ファイル: Task.cs プロジェクト: hackestyy/study
 protected virtual void OnBehaviorAdded(Behavior addedBehavior)
 {
     if(BehaviorAdded!=null)
     {
         BehaviorAdded(this, new BehaviorEventArgs(addedBehavior));
     }
 }
コード例 #3
0
ファイル: BehaviorException.cs プロジェクト: hackestyy/study
 public BehaviorException(Behavior behavior)
 {
     mBehavior = behavior;
 }
コード例 #4
0
ファイル: BehaviorException.cs プロジェクト: hackestyy/study
 public BehaviorException(Behavior behavior,string message)
     : base(message)
 {
     mBehavior = behavior;
 }
コード例 #5
0
ファイル: BehaviorEventArgs.cs プロジェクト: hackestyy/study
 public BehaviorEventArgs(Behavior behavior)
 {
     mBehavior = behavior;
 }