Esempio n. 1
0
        public bool TryGetIniIncludeFileNode(string filePath, out ChoIniIncludeFileNode iniIncludeFileNode)
        {
            iniIncludeFileNode = null;

            if (_iniDocument != null)
            {
                if (_iniDocument.Path == filePath)
                {
                    iniIncludeFileNode = this;
                    return(true);
                }
                else
                {
                    return(_iniDocument.TryGetIniIncludeFileNode(filePath, out iniIncludeFileNode));
                }
            }
            else
            {
                return(false);
            }
        }