/// <summary> /// Sets the chained process to run when this one is done /// A reference to the new process is returned to make long chains /// easier to create semantically. Example shown below: /// /// a.SetNextProcess(b).SetNextProcess(c).SetNextProcess(d) /// </summary> /// <param name="process">Dependent process</param> /// <returns>Passed in process</returns> public virtual gxtProcess SetNextProcess(gxtProcess process) { NextProcess = process; return process; }
/// <summary> /// Adds a process to the collection /// </summary> /// <param name="process"></param> public void Add(gxtProcess process) { gxtDebug.Assert(!processList.Contains(process), "Cannot add the same process twice!"); processList.Add(process); }
/// <summary> /// Removes a process from the collection /// </summary> /// <param name="process"></param> /// <returns>If removed</returns> public bool Remove(gxtProcess process) { return processList.Remove(process); }
/// <summary> /// Determines if the process exists in the collection /// </summary> /// <param name="process"></param> /// <returns></returns> public bool Contains(gxtProcess process) { return processList.Contains(process); }
public void RemoveProcess(gxtProcess process) { processManager.Remove(process); }
public void AddProcess(gxtProcess process) { processManager.Add(process); }