public void Visit(object idSlotMapping) { SlotChange slotChange = new SlotChange(((TreeInt)idSlotMapping)._key); slotChange.NotifySlotCreated(((IdSlotTree)idSlotMapping).Slot()); outSideVisitor.Visit(slotChange); }
public void Visit(object idSlotMapping) { var slotChange = new SlotChange(((IdSlotMapping)idSlotMapping)._id); slotChange.NotifySlotCreated(((IdSlotMapping)idSlotMapping).Slot()); outSideVisitor.Visit(slotChange); }
public void Accept(IVisitor4 visitor) { SlotChange slotChange = new SlotChange(id); slotChange.NotifySlotCreated(new Slot(address, length)); visitor.Visit(slotChange); }
private Slot AllocateNewSlot(int newId) { SlotChange slotChange = SlotChangeFactory.UserObjects.NewInstance(newId); Slot allocatedSlot = LocalContainer().AllocateSlot(SlotLength); slotChange.NotifySlotCreated(allocatedSlot); Commit(new SlotChange[] { slotChange }); return(allocatedSlot); }