예제 #1
0
 public void OnRunCompleted(AsynchronousDialogueItemEventArgs e)
 {
     if (RunCompleted != null)
     {
         EventHandler <AsynchronousDialogueItemEventArgs> handler = RunCompleted;
         handler(this, e);
     }
 }
예제 #2
0
        protected override void RunLoop(List <object> parameterList)
        {
            string originalContext = ownerAgent.WorkingMemory.CurrentContext;

            Thread.Sleep(millisecondWaitingTime);
            AsynchronousDialogueItemEventArgs e = new AsynchronousDialogueItemEventArgs(originalContext, outputAction.TargetContext, outputAction.TargetID);

            OnRunCompleted(e);
        }