public void Dispose() { if (_context != null) { _context.Dispose(); _context = null; GC.SuppressFinalize(this); } if (_events != null) { _events.Dispose(); } }
public void Dispose() { if (context != null) { context.Dispose(); context = null; GC.SuppressFinalize(this); } if (events != null) { events.Dispose(); } }