Пример #1
0
 /// <summary>
 /// create action components and make port links
 /// </summary>
 /// <param name="designer"></param>
 public override bool LoadToDesigner(List <UInt32> used, MethodDiagramViewer designer)
 {
     if (!used.Contains(BranchId))
     {
         used.Add(BranchId);
         //this logic assumes _list is a single thread action string to be executed one by one
         if (_list != null && _list.Count > 0)
         {
             _list.LoadToDesignerAsSingleThread(designer);
         }
         return(true);
     }
     return(false);
 }