src/Misc/EFTools/DesignXmlCore/VisualStudio/Package/SelectionContainer.cs
/// <summary>
///     Defers raising a change event by using a Post.
/// </summary>
Defers raising a change event by using a Post.
Defers raising a change event by using a Post .
private void RaiseSelectionChange()
        {
            if (!_selectionChangePending)
            {
                _selectionChangePending = true;
                var d = Dispatcher.CurrentDispatcher;
                d.BeginInvoke(DispatcherPriority.Background, new Callback(OnRaiseSelectionChange));
            }
        }
private void RaiseSelectionChange ( ) { if ( ! _selectionChangePending ) { _selectionChangePending = true ; var d = Dispatcher . CurrentDispatcher ; d . BeginInvoke ( DispatcherPriority . Background , new Callback ( OnRaiseSelectionChange ) ) ; } }
Defers raising a change event by using a Post.
Defers raising a change event by using a Post .
// Expensive to do this, so only do it at idle.