Exemple #1
0
        public void TearDown()
        {
            _transaction = null;

            _eventSubscription?.Dispose();
            _eventSubscription = null;

            GC.Collect();
            GC.WaitForFullGCComplete();
            GC.WaitForPendingFinalizers();
        }
 public void Dispose()
 {
     _subscription.Dispose();
     Assert.True(_eventWasFired, "Expected event {0} was not fired", typeof(T).Name);
 }
Exemple #3
0
 public void Dispose()
 {
     _configurationSubscription.Dispose();
 }
Exemple #4
0
 public void Dispose()
 {
     _streamStore.Dispose();
     _sut.Dispose();
     _waitEvent.Dispose();
 }
Exemple #5
0
 public void Dispose()
 {
     Subscription.Dispose();
 }
 public virtual void Dispose()
 {
     _PreferencesChangedEvt.Dispose();
 }