public void Map(ushort basea, ushort size, Cart cart) { cart.Attach(M); var device = (IDevice)cart; if (cart.RequestSnooping) { Snooper = device; } Map(basea, size, device); }
public void Map(ushort basea, ushort size, Cart cart) { if (cart == null) throw new ArgumentNullException("cart"); cart.Attach(M); var device = (IDevice)cart; if (cart.RequestSnooping) { Snooper = device; } Map(basea, size, device); }
public void Map(ushort basea, ushort size, Cart cart) { if (cart == null) { throw new ArgumentNullException("cart"); } cart.Attach(M); var device = (IDevice)cart; if (cart.RequestSnooping) { Snooper = device; } Map(basea, size, device); }