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