Пример #1
0
 public void OnHttpConnection(object sender, HttpConnectionEventArgs e)
 {
     if (this.HttpConnectionEvent != null)
         this.HttpConnectionEvent(sender, e);
 }
Пример #2
0
 /// <summary>
 /// Intercepts the diconnection event from the connection
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnInternalConnectionClosed(object sender, HttpConnectionEventArgs e)
 {
     // forward this event on through the connection manager
     this.OnConnectionClosed(sender, new AddressBookItemConnectionManagerEventArgs(this));
 }