internal SelectionGroup(ISelectionMgr selMgr)
        {
            if (selMgr == null)
            {
                throw new ArgumentNullException(nameof(selMgr));
            }

            m_SelMgr = selMgr;

            m_SelMgr.SuspendSelectionList();
        }
예제 #2
0
 public static IDisposable DeselectAllUndoable(this ISelectionMgr selMgr)
 {
     selMgr.SuspendSelectionList();
     return(Disposable.Create(selMgr.ResumeSelectionList));
 }