예제 #1
0
 /// <summary>
 /// Raises the request recieved event.
 /// </summary>
 /// <param name="e">E.</param>
 protected virtual void OnRequestRecieved(RequestRecievedEventArgs e)
 {
     EventHandler<RequestRecievedEventArgs> handler = MessageRecieved;
     if (handler != null)
         handler(this, e);
 }
예제 #2
0
 /// <summary>
 /// Listener_s the on message recieved.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 public static void listener_OnMessageRecieved(object sender, RequestRecievedEventArgs e)
 {
     handler.HandleContext(e.HttpContext);
 }