Exemplo n.º 1
0
            public void Visit(object mapping)
            {
                SlotDetail detail = new IdObjectSlotDetail(((IdSlotMapping)mapping)._id, ((IdSlotMapping
                                                                                           )mapping).Slot());

                if (this._enclosing.IsBogusSlot(((IdSlotMapping)mapping)._address, ((IdSlotMapping
                                                                                     )mapping)._length))
                {
                    this._enclosing._bogusSlots.Add(detail);
                }
                if (((IdSlotMapping)mapping)._address > 0)
                {
                    this._enclosing._overlaps.Add(detail);
                }
            }
Exemplo n.º 2
0
 public void Visit(object mapping)
 {
     SlotDetail detail = new IdObjectSlotDetail(((IdSlotMapping) mapping)._id, ((IdSlotMapping
         ) mapping).Slot());
     if (_enclosing.IsBogusSlot(((IdSlotMapping) mapping)._address, ((IdSlotMapping
         ) mapping)._length))
     {
         _enclosing._bogusSlots.Add(detail);
     }
     if (((IdSlotMapping) mapping)._address > 0)
     {
         _enclosing._overlaps.Add(detail);
     }
 }