System.Configuration.SectionUpdates.HasUnretrievedSections C# (CSharp) Метод

HasUnretrievedSections() приватный Метод

private HasUnretrievedSections ( ) : bool
Результат bool
        internal bool HasUnretrievedSections() {
            if (_cUnretrieved > 0 || (_sectionGroupUpdate != null && !_sectionGroupUpdate.Retrieved)) {
                return true;
            }

            foreach (SectionUpdates sectionUpdates in _groups.Values) {
                if (sectionUpdates.HasUnretrievedSections()) {
                    return true;
                }
            }

            return false;
        }

Usage Example

Пример #1
0
        internal string[] GetUnretrievedGroupNames()
        {
            ArrayList list = new ArrayList();

            foreach (DictionaryEntry entry in this._groups)
            {
                string         key     = (string)entry.Key;
                SectionUpdates updates = (SectionUpdates)entry.Value;
                if (updates.HasUnretrievedSections())
                {
                    list.Add(key);
                }
            }
            if (list.Count == 0)
            {
                return(null);
            }
            string[] array = new string[list.Count];
            list.CopyTo(array);
            Array.Sort <string>(array);
            return(array);
        }
All Usage Examples Of System.Configuration.SectionUpdates::HasUnretrievedSections