Exemplo n.º 1
0
 /// <summary>
 ///     Raises the <see cref="IncomingConnection" /> event.
 /// </summary>
 /// <param name="e">An <see cref="ConnectionEventArgs" /> that contains the event dEventArgsata. </param>
 protected virtual void OnIncomingConnection(ConnectionEventArgs e)
 {
     if (IncomingConnection != null)
         IncomingConnection(this, e);
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Raises the <see cref="IncomingConnection" /> event.
 /// </summary>
 /// <param name="e">An <see cref="ConnectionEventArgs" /> that contains the event dEventArgsata. </param>
 protected virtual void OnIncomingConnection(ConnectionEventArgs e)
 {
     IncomingConnection?.Invoke(this, e);
 }