/// <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); }
/// <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); }