internal SelectionGroup(ISelectionMgr selMgr) { if (selMgr == null) { throw new ArgumentNullException(nameof(selMgr)); } m_SelMgr = selMgr; m_SelMgr.SuspendSelectionList(); }
public static IDisposable DeselectAllUndoable(this ISelectionMgr selMgr) { selMgr.SuspendSelectionList(); return(Disposable.Create(selMgr.ResumeSelectionList)); }