Esempio n. 1
0
        //---------------------------------------------------------------------
        private void CacheTypes()
        {
            ReadOnlyCollection <MonitoringClass> types;

            types = m_managementGroup.GetMonitoringClasses();

            m_typesCache = new Dictionary <Guid, MonitoringClass>(types.Count);

            foreach (MonitoringClass type in types)
            {
                m_typesCache.Add(type.Id, type);
            }
        }