using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace StageController { public class Workflow { public bool Done { get; set; } public List Worklist { get; private set; } public Workflow(List workflows) { Worklist = workflows; _index = workflows.Count; } public Action Process = () => { }; public Func Judgement = () => { return true; }; readonly int _index; } }