public override object ShallowClone() { SlotChange sc = new SlotChange(0); sc.NewSlot(_newSlot); return(base.ShallowCloneInternal(sc)); }
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); }
public _IVisitable_112(SlotChange[] slotChanges) { this.slotChanges = slotChanges; }
private void Commit(SlotChange[] slotChanges) { IdSystem().Commit(new _IVisitable_112(slotChanges), FreespaceCommitter.DoNothing); }
public override object ShallowClone() { SlotChange sc = new SlotChange(0); sc.NewSlot(_newSlot); return base.ShallowCloneInternal(sc); }
private void Operation(SlotChange.SlotChangeOperation operation) { if (_firstOperation == null) { _firstOperation = operation; } _currentOperation = operation; }
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; }
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); }