/// <devdoc> /// Raises the LoggingOut event. /// </devdoc> protected virtual void OnLoggingOut(LoginCancelEventArgs e) { LoginCancelEventHandler handler = (LoginCancelEventHandler)Events[EventLoggingOut]; if (handler != null) { handler(this, e); } }
protected virtual void OnLoggingOut(LoginCancelEventArgs e) { // this gets called before OnAuthenticate so we can abort the authentication process LoginCancelEventHandler loggingOut = (LoginCancelEventHandler)Events [loggingOutEvent]; if (loggingOut != null) { loggingOut(this, e); } }