Exemple #1
0
 internal bool Execute(NativeActivityContext context, CompletionCallback onCompleted, out FlowNode nextNode)
 {
     if (Next == null)
     {
         if (TD.FlowchartNextNullIsEnabled())
         {
             TD.FlowchartNextNull(this.Owner.DisplayName);
         }
     }
     if (Action == null)
     {
         nextNode = Next;
         return(true);
     }
     else
     {
         context.ScheduleActivity(Action, onCompleted);
         nextNode = null;
         return(false);
     }
 }