示例#1
0
        public BindingGraph Copy()
        {
            /*
             * Used to make alterations and checks on a temporary copy of the binding graph
             */

            BindingGraph newGraph = new BindingGraph();

            foreach (BindingNode node in nodes)
            {
                newGraph.nodes.Add(node);
            }

            return(newGraph);
        }
        public BindingGraph Copy()
        {
            /*
             * Used to make alterations and checks on a temporary copy of the binding graph
             */

            BindingGraph newGraph = new BindingGraph();

            foreach (BindingNode node in nodes)
            {
                newGraph.nodes.Add(node);
            }

            return newGraph;
        }