GitUI.CommandsDialogs.FormBrowse.Find C# (CSharp) Метод

Find() приватный статический Метод

private static Find ( TreeNodeCollection nodes, string label ) : TreeNode
nodes System.Windows.Forms.TreeNodeCollection
label string
Результат System.Windows.Forms.TreeNode
        private static TreeNode Find(TreeNodeCollection nodes, string label)
        {
            for (int i = 0; i < nodes.Count; i++)
            {
                if (nodes[i].Text == label)
                {
                    return nodes[i];
                }
            }
            return null;
        }
FormBrowse