Exemple #1
0
 private static void TryContinueList()
 {
     if (Current_ActionList != null)
     {
         Current_ActionList.ExecuteCurrent();
     }
 }
Exemple #2
0
 public void ExecuteCurrent()
 {
     if (_subList != null && !_subList.Finished)
     {
         _subList.ExecuteCurrent();
     }
     else
     {
         var method = _current;
         if (_current.Next != null)
         {
             _current = _current.Next;
         }
         else
         {
             _finished = true;
             if (OnFinish != null)
             {
                 OnFinish(_owner, null);
             }
         }
         _subList = null;
         method.Value.ExecuteMethod(_owner);
     }
 }