Ejemplo n.º 1
0
 /// <summary>
 /// 重新啟動所有流程項目
 /// </summary>
 /// <param name="description"></param>
 public void RestartAll(string description = "")
 {
     lock (_key)
     {
         foreach (var item in _totalFlow)
         {
             FlowBase instance = item.Value;
             instance.Restart(description);
         }
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 重新啟動流程項目
        /// </summary>
        /// <param name="name"></param>
        /// <param name="description"></param>
        public void Restart(string name, string description = "")
        {
            FlowBase instance = GetFlowBase(name);

            instance.Restart(description);
        }