internal void NotifySelectionContextChanged(MockVsTrackSelectionEx mockVsTrackSelectionEx) { var oldHier = _hier; var oldItem = _itemid; var oldMis = _mis; var oldContainer = _container; var sel = mockVsTrackSelectionEx ?? _emptyCtx; if (sel != null) { sel.GetCurrentSelection( out _hier, out _itemid, out _mis, out _container ); } if (oldHier != _hier || oldItem != _itemid || oldMis != _mis || oldContainer != _container) { // something changed, tell our listeners... foreach (var listener in _listeners.Values) { listener.OnSelectionChanged( oldHier, oldItem, oldMis, oldContainer, _hier, _itemid, _mis, _container ); } } }
internal void NotifySelectionContextChanged(MockVsTrackSelectionEx mockVsTrackSelectionEx) { var oldHier = _hier; var oldItem = _itemid; var oldMis = _mis; var oldContainer = _container; var sel = mockVsTrackSelectionEx ?? _emptyCtx; if (sel != null) { sel.GetCurrentSelection( out _hier, out _itemid, out _mis, out _container ); } if (oldHier != _hier || oldItem != _itemid || oldMis != _mis || oldContainer != _container) { // something changed, tell our listeners... foreach (var listener in _listeners.Values) { listener.OnSelectionChanged( oldHier, oldItem, oldMis, oldContainer, _hier, _itemid, _mis, _container ); } } }
internal void NotifyElementChanged(MockVsTrackSelectionEx mockVsTrackSelectionEx, uint elementid) { throw new NotImplementedException(); }
public MockVsMonitorSelection(MockVs vs) { _vs = vs; _emptyCtx = new MockVsTrackSelectionEx(this); }
internal void NotifyElementChanged(MockVsTrackSelectionEx mockVsTrackSelectionEx, uint elementid) { throw new NotImplementedException(); }
public MockVsMonitorSelection(MockVs vs) { _vs = vs; _emptyCtx = new MockVsTrackSelectionEx(this); }