Exemplo 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());
        }
Exemplo n.º 2
0
 public static void UpdateBindingGraph(BindPoint[] sources, BindPoint[] destinations)
 {
     bindGraph.AddMany(sources);
     bindGraph.AddMany(destinations);
     bindGraph.MultiBind(sources, destinations);
 }