Exemplo n.º 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);
 }
Exemplo n.º 3
0
 public void Dispose()
 {
     _configurationSubscription.Dispose();
 }
Exemplo n.º 4
0
 public void Dispose()
 {
     _streamStore.Dispose();
     _sut.Dispose();
     _waitEvent.Dispose();
 }
Exemplo n.º 5
0
 public void Dispose()
 {
     Subscription.Dispose();
 }
Exemplo n.º 6
0
 public virtual void Dispose()
 {
     _PreferencesChangedEvt.Dispose();
 }