Пример #1
0
        private bool TryGetCref(string crefValue, IEnumerable <XmlDocFile> docFiles, out XmlDocMember member)
        {
            if (TryGetCrefImpl(crefValue, ParentFile, out member) && member.SummaryNode.HasChildNodes)
            {
                return(true);
            }

            foreach (var docFile in docFiles)
            {
                if (TryGetCrefImpl(crefValue, docFile, out member) && member.SummaryNode.HasChildNodes)
                {
                    return(true);
                }
            }

            return(false);
Пример #2
0
 static bool TryGetCrefImpl(string crefValue, XmlDocFile docFile, out XmlDocMember member)
 {
     return(docFile.Members.TryGetValue(crefValue, out member));
 }