Esempio n. 1
0
 /// <summary>
 /// 得到起始结点
 /// </summary>
 /// <returns></returns>
 public ActivityByConvergeStart GetStartNode()
 {
     if (_startnode != null)
     {
         return(_startnode);
     }
     foreach (var a in this.Activities)
     {
         if (a.ActivityType.Equals(eActivityType.ConvergeStart))
         {
             _startnode = a as ActivityByConvergeStart;
             break;
         }
     }
     return(_startnode);
 }
 /// <summary>
 /// 得到起始结点
 /// </summary>
 /// <returns></returns>
 public ActivityByConvergeStart GetStartNode()
 {
     if (_startnode != null)
     {
         return _startnode;
     }
     foreach (var a in this.Activities)
     {
         if (a.ActivityType.Equals(eActivityType.ConvergeStart))
         {
             _startnode = a as ActivityByConvergeStart ;
             break;
         }
     }
     return _startnode;
 }