Пример #1
0
        public void RemoveShape(IServerVdShape sh)
        {
            if (sh.GetCursor() != null)
            {
                throw new InvalidOperationException("cannot remove shape locked by cursor!");
            }

            _shapeIdToShape.Remove(sh.Id());
        }
Пример #2
0
 public void AddShapeAndLock(IServerVdShape sh)
 {
     _shapeIdToShape.Add(sh.Id(), sh);
     LockShape(sh, sh.InitialOwner());
 }
Пример #3
0
 public void AddShape(IServerVdShape sh)
 {
     _shapeIdToShape.Add(sh.Id(), sh);
 }
Пример #4
0
        public void RemoveShape(IServerVdShape sh)
        {
            if (sh.GetCursor() != null)
                throw new InvalidOperationException("cannot remove shape locked by cursor!");

            _shapeIdToShape.Remove(sh.Id());
        }
Пример #5
0
 public void AddShapeAndLock(IServerVdShape sh)
 {
     _shapeIdToShape.Add(sh.Id(), sh);
     LockShape(sh, sh.InitialOwner());
 }
Пример #6
0
 public void AddShape(IServerVdShape sh)
 {
     _shapeIdToShape.Add(sh.Id(), sh);
 }