예제 #1
0
        private ArcProcessViewModel GetArc(ProcessStatusViewModel source, ProcessStatusViewModel target)
        {
            if (target is null || source is null)
            {
                return(null);
            }

            return(container.ArcProcesses.FirstOrDefault(x => x.StatusSource == source && x.StatusTarget == target));
        }
예제 #2
0
 private ArcProcessViewModel GetNoose(ProcessStatusViewModel status)
 {
     return(GetArc(status, status));
 }