Example #1
0
        public override object ShallowClone()
        {
            SlotChange sc = new SlotChange(0);

            sc.NewSlot(_newSlot);
            return(base.ShallowCloneInternal(sc));
        }
Example #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);
        }
Example #3
0
				public _IVisitable_112(SlotChange[] slotChanges)
				{
					this.slotChanges = slotChanges;
				}
Example #4
0
			private void Commit(SlotChange[] slotChanges)
			{
				IdSystem().Commit(new _IVisitable_112(slotChanges), FreespaceCommitter.DoNothing);
			}
Example #5
0
		public override object ShallowClone()
		{
			SlotChange sc = new SlotChange(0);
			sc.NewSlot(_newSlot);
			return base.ShallowCloneInternal(sc);
		}
Example #6
0
		private void Operation(SlotChange.SlotChangeOperation operation)
		{
			if (_firstOperation == null)
			{
				_firstOperation = operation;
			}
			_currentOperation = operation;
		}
Example #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;
		}
Example #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);
				}
 public void Accept(IVisitor4 visitor)
 {
     var slotChange = new SlotChange(id);
     slotChange.NotifySlotCreated(new Slot(address, length));
     visitor.Visit(slotChange);
 }