public void UpdateLedAndBuzzer(ContactlessCard card, LedBuzzerStatus status) { if (_disposed) { throw new ObjectDisposedException("Cardreader", "Cannot access a disposed object."); } if (card == null) { throw new ArgumentNullException("card"); } ActionQueue.EnqueueAction(new UpdateLedAndBuzzerAction(card, status)); }
public void UpdateLedAndBuzzer(ContactlessCard card, LedBuzzerStatus status) { if (_disposed) throw new ObjectDisposedException("Cardreader", "Cannot access a disposed object."); if (card == null) throw new ArgumentNullException("card"); ActionQueue.EnqueueAction(new UpdateLedAndBuzzerAction(card, status)); }