void IDisposable.Dispose() { if (_batchProcessorLazy.IsValueCreated) { BatchProcessor.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!disposing) { return; } if (_batchProcessorLazy.IsValueCreated) { BatchProcessor.Dispose(); } }
void IDisposable.Dispose() { if (_batchProcessorLazy.IsValueCreated) { BatchProcessor.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!disposing) { return; } if (_batchProcessorLazy.IsValueCreated) { BatchProcessor.Dispose(); } }