コード例 #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));
 }