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); }
public void Dispose() { _configurationSubscription.Dispose(); }
public void Dispose() { _streamStore.Dispose(); _sut.Dispose(); _waitEvent.Dispose(); }
public void Dispose() { Subscription.Dispose(); }
public virtual void Dispose() { _PreferencesChangedEvt.Dispose(); }