Exemple #1
0
        /// <summary>
        /// Returns the path of this FSNode inside the tree.
        /// </summary>
        /// <returns></returns>
        public string GetPathInTree()
        {
            if (m_path != null)
            {
                return(m_path);
            }
            var path = new StringBuilder(260);

            if (m_parent != null)
            {
                m_parent.GetPathInTreeIntern(path);
            }
            path.Append(m_name);
            m_path = path.ToString();
            return(m_path);
        }