Esempio n. 1
0
        /// <devdoc>
        /// Raises the LoggingOut event.
        /// </devdoc>
        protected virtual void OnLoggingOut(LoginCancelEventArgs e)
        {
            LoginCancelEventHandler handler = (LoginCancelEventHandler)Events[EventLoggingOut];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
        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);
            }
        }