protected virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { _electionContext.Dispose(); } } this._disposed = true; }