Exemple #1
0
 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;
     }
 }
Exemple #3
0
 protected override void BecauseOf()
 {
     _sut.Dispose();
 }
Exemple #4
0
 private void CardRemoved(CardStatusEventArgs args)
 {
     _reader?.Dispose();
     _reader       = null;
     IsCardPResent = false;
 }
Exemple #5
0
 protected override void OnStop()
 {
     _reader?.Dispose();
     base.OnStop();
 }