Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }