protected virtual void Dispose(bool disposing) { if (!_disposed && disposing) { _requestStates.Dispose(); _disposed = true; } }
public void Dispose() { if (!_disposed) { _globalDataLoaders.Dispose(); _globalCustomContexts.Dispose(); _disposed = true; } }