Inheritance: System.EventArgs
Exemple #1
0
 public static void InvokeStunRequest(StunRequestEventArgs e)
 {
     if (EventSink.StunRequest != null)
     {
         EventSink.StunRequest.Invoke(e);
     }
 }
 public static void InvokeStunRequest(StunRequestEventArgs e)
 {
     if (StunRequest != null)
     {
         StunRequest(e);
     }
 }
Exemple #3
0
 public static void InvokeStunRequest( StunRequestEventArgs e )
 {
     if ( StunRequest != null )
         StunRequest( e );
 }
 public static void InvokeStunRequest(StunRequestEventArgs e)
 {
     StunRequest?.Invoke(e);
 }
Exemple #5
0
		public static void InvokeStunRequest(StunRequestEventArgs e)
		{
			if (StunRequest != null)
			{
				foreach (StunRequestEventHandler currentDelegate in StunRequest.GetInvocationList())
				{
					try
					{
						currentDelegate.Invoke(e);
					}
					catch (Exception ex)
					{
						// Log an exception
						EventSink.InvokeLogException(new LogExceptionEventArgs(ex));
					}
				}
			}
		}