public void OnDisposing(SessionEventArgs args) { EventHandler<SessionEventArgs> handler = Disposing; if (handler != null) handler(this, args); }
void _currentDatabaseSession_Disposing(object sender, SessionEventArgs e) { _activeSessionManager.ClearActiveSession(); }