Пример #1
0
        internal void OnNodeUpdated(object sender, EventArgs e)
        {
            var node = sender as NodeConfig;

            for (var i = 0; i < Nodes.Count; i++)
            {
                var targetNode = Nodes[i];

                if (targetNode.Config == node)
                {
                    Nodes[i] = new NodeMasterViewModel(node);
                    break;
                }
            }
        }
Пример #2
0
        internal void OnNodeUpdated(object sender, EventArgs e)
        {
            var node = sender as NodeConfig;

            for (var i = 0; i < Nodes.Count; i++)
            {
                var targetNode = Nodes[i];

                if (targetNode.Config == node)
                {
                    Nodes[i] = new NodeMasterViewModel(node);
                    break;
                }
            }
        }