public void Dispose() { foreach (SCPCardReader CardReader in this.Readers) { CardReader.Dispose(); } }
public void PostRun() { if (_Reader != null) { _Reader.Dispose(); _Reader = null; } if (_Readers != null) { _Readers.Dispose(); _Readers = null; } }
protected override void BecauseOf() { _sut.Dispose(); }
private void CardRemoved(CardStatusEventArgs args) { _reader?.Dispose(); _reader = null; IsCardPResent = false; }
protected override void OnStop() { _reader?.Dispose(); base.OnStop(); }