Inheritance: System.EventArgs
Exemple #1
0
 /// <summary>
 /// Raises the SessionCompleted Event.
 /// </summary>
 /// <param name="args">The event data.</param>
 protected virtual void OnSessionCompleted(SessionEventArgs args)
 {
     SessionCompleted?.Invoke(this, args);
 }
Exemple #2
0
 /// <summary>
 /// Raises the SessionCompleted Event.
 /// </summary>
 /// <param name="args">The event data.</param>
 protected virtual void OnSessionCompleted(SessionEventArgs args)
 {
     SessionCompleted?.Invoke(this, args);
 }
Exemple #3
0
 /// <summary>
 /// Raises the SessionCancelled Event.
 /// </summary>
 /// <param name="args">The event data.</param>
 protected internal virtual void OnSessionCancelled(SessionEventArgs args)
 {
     SessionCancelled?.Invoke(this, args);
 }
Exemple #4
0
 static void OnSmtpServerSessionCompleted(object sender, SessionEventArgs sessionEventArgs)
 {
     Console.WriteLine("SessionCompleted: {0}", sessionEventArgs.Context.RemoteEndPoint);
 }