Beispiel #1
0
 public void Dispose()
 {
     if (_spsConection != null)
     {
         _spsConection.NewMessage -= HandleNewSpsMessage;
         _spsConection             = null;
     }
 }
Beispiel #2
0
        public SpsService(ISpsConnection spsConection)
        {
            _spsConection = spsConection;

            _spsConection.NewMessage += HandleNewSpsMessage;
        }