public void Execute()
        {
            _layout.ConnectionRemoved += AddRemovedConnection;
            _layout.ObjectRemoved     += AddRemovedObject;

            _layout.RemoveNodeConnection(_connection);

            _layout.ObjectRemoved     -= AddRemovedObject;
            _layout.ConnectionRemoved -= AddRemovedConnection;
        }
예제 #2
0
 public void Undo()
 {
     _layout.RemoveNodeConnection(_connection);
 }