public void Purge() { _original.Purge(); foreach (var pipelineHook in _pipelineHooks) { pipelineHook.OnPurge(); } }
public async Task Purge() { await _original.Purge(); foreach (var pipelineHook in _pipelineHooks) { pipelineHook.OnPurge(); } }
public void Dispose() { if (_persistence != null && !_persistence.IsDisposed) { _persistence.Purge(); } Persistence.Dispose(); }
public virtual void Purge() { _persistence.Purge(); }
public void Purge() { original.Purge(); }
public virtual Task Purge() { return(_persistence.Purge()); }
public void Purge() { underlying.Purge(); }
protected override void Because() { Thread.Sleep(50); // 50 ms = enough time for Raven to become consistent persistence1.Purge(); }