protected virtual void OnSessionRequest(EventArguments.SessionRequestEventArguments args)
 {
     if (SessionRequest != null)
     {
         SessionRequest(this, args);
     }
 }
        private void SessionRequestHandler(SessionRequest request)
        {
            SessionResponse response = new SessionResponse(request);

            EventArguments.SessionRequestEventArguments args = new EventArguments.SessionRequestEventArguments(() =>
            {
                //Confirm Session
                response.IsConfirmed = true;
                response.Email       = request.Email;
                SendMessage(response);
            },
                                                                                                               () =>
            {
                //Refuse Session
                response.IsConfirmed = false;
                response.Email       = request.Email;
                SendMessage(response);
            });

            args.Request = request;
            OnSessionRequest(args);
        }