Exemple #1
0
        public bool Validate(BPMNTrail trail)
        {
            this.trail = trail;
            StartEvent se = trail.GetFirstStartEvent();

            RunStates(se, graph);
            return(results.TrueForAll(x => x.Equals(true)));
        }
Exemple #2
0
        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));
            }
        }