Пример #1
0
        public void ShowInspectors(List <CObjectBase> propertyInfo)
        {
            if (m_updateQueued)
            {
                lock (m_updateListLock)
                {
                    m_updateList = propertyInfo;
                }
                return;
            }

            m_updateQueued = true;
            m_updateList   = propertyInfo;

            Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle, (Action)(() =>
            {
                lock (m_updateListLock)
                {
                    PropertyInspector.ShowInspectors(m_updateList);
                    m_updateQueued = false;
                }
            }));
        }
Пример #2
0
 public void ShowInspectors(List <CObjectBase> propertyInfo)
 {
     PropertyInspector.ShowInspectors(propertyInfo);
 }