Inheritance: System.EventArgs
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 4
0
 static void OnSmtpServerSessionCompleted(object sender, SessionEventArgs sessionEventArgs)
 {
     Console.WriteLine("SessionCompleted: {0}", sessionEventArgs.Context.RemoteEndPoint);
 }