Пример #1
0
        public override object ShallowClone()
        {
            SlotChange sc = new SlotChange(0);

            sc.NewSlot(_newSlot);
            return(base.ShallowCloneInternal(sc));
        }
Пример #2
0
        public override object Read(ByteArrayBuffer reader)
        {
            SlotChange change  = new SlotChange(reader.ReadInt());
            Slot       newSlot = new Slot(reader.ReadInt(), reader.ReadInt());

            change.NewSlot(newSlot);
            return(change);
        }
Пример #3
0
				public _IVisitable_112(SlotChange[] slotChanges)
				{
					this.slotChanges = slotChanges;
				}
Пример #4
0
			private void Commit(SlotChange[] slotChanges)
			{
				IdSystem().Commit(new _IVisitable_112(slotChanges), FreespaceCommitter.DoNothing);
			}
Пример #5
0
		public override object ShallowClone()
		{
			SlotChange sc = new SlotChange(0);
			sc.NewSlot(_newSlot);
			return base.ShallowCloneInternal(sc);
		}
Пример #6
0
		private void Operation(SlotChange.SlotChangeOperation operation)
		{
			if (_firstOperation == null)
			{
				_firstOperation = operation;
			}
			_currentOperation = operation;
		}
Пример #7
0
		public override object Read(ByteArrayBuffer reader)
		{
			SlotChange change = new SlotChange(reader.ReadInt());
			Slot newSlot = new Slot(reader.ReadInt(), reader.ReadInt());
			change.NewSlot(newSlot);
			return change;
		}
Пример #8
0
 public void Visit(object idSlotMapping)
 {
     var slotChange = new SlotChange(((IdSlotMapping) idSlotMapping)._id);
     slotChange.NotifySlotCreated(((IdSlotMapping) idSlotMapping).Slot());
     outSideVisitor.Visit(slotChange);
 }
				public void Visit(object idSlotMapping)
				{
					SlotChange slotChange = new SlotChange(((TreeInt)idSlotMapping)._key);
					slotChange.NotifySlotCreated(((IdSlotTree)idSlotMapping).Slot());
					outSideVisitor.Visit(slotChange);
				}
Пример #10
0
 public void Accept(IVisitor4 visitor)
 {
     var slotChange = new SlotChange(id);
     slotChange.NotifySlotCreated(new Slot(address, length));
     visitor.Visit(slotChange);
 }