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; } })); }
public void ShowInspectors(List <CObjectBase> propertyInfo) { PropertyInspector.ShowInspectors(propertyInfo); }