Beispiel #1
0
 public void Purge()
 {
     _original.Purge();
     foreach (var pipelineHook in _pipelineHooks)
     {
         pipelineHook.OnPurge();
     }
 }
Beispiel #2
0
        public async Task Purge()
        {
            await _original.Purge();

            foreach (var pipelineHook in _pipelineHooks)
            {
                pipelineHook.OnPurge();
            }
        }
Beispiel #3
0
        public void Dispose()
        {
            if (_persistence != null && !_persistence.IsDisposed)
            {
                _persistence.Purge();
            }

            Persistence.Dispose();
        }
 public virtual void Purge()
 {
     _persistence.Purge();
 }
Beispiel #5
0
 public void Purge()
 {
     original.Purge();
 }
Beispiel #6
0
 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();
 }