Esempio n. 1
0
        public static bool MultiLinkWouldCauseConflict(BindPoint[] sources, BindPoint[] destinations)
        {
            BindingGraph tempGraph = bindGraph.Copy();

            tempGraph.AddMany(sources);
            tempGraph.AddMany(destinations);
            tempGraph.MultiBind(sources, destinations);
            return(tempGraph.HasConflict());
        }
Esempio n. 2
0
 public static void UpdateBindingGraph(BindPoint[] sources, BindPoint[] destinations)
 {
     bindGraph.AddMany(sources);
     bindGraph.AddMany(destinations);
     bindGraph.MultiBind(sources, destinations);
 }