NetIde.Project.NiHierarchy.GetRoot C# (CSharp) Méthode

GetRoot() private méthode

private GetRoot ( ) : object
Résultat object
        private object GetRoot()
        {
            var current = this;

            while (current._parent != null)
            {
                current = current._parent;
            }

            return current;
        }