public bool Validate(BPMNTrail trail) { this.trail = trail; StartEvent se = trail.GetFirstStartEvent(); RunStates(se, graph); return(results.TrueForAll(x => x.Equals(true))); }
private void FindEvents() { StartEvent se = trail.GetFirstStartEvent(); bpmnElements.Add(se.id); foreach (List <string> trace in traces) { trail.GetStartEvent(se.id).outgoing.ForEach(x => FindEvent(x, trace)); } }