public static void InvokeDisarmRequest(DisarmRequestEventArgs e) { if (EventSink.DisarmRequest != null) { EventSink.DisarmRequest.Invoke(e); } }
public static void InvokeDisarmRequest(DisarmRequestEventArgs e) { if (DisarmRequest != null) { DisarmRequest(e); } }
public static void InvokeDisarmRequest( DisarmRequestEventArgs e ) { if ( DisarmRequest != null ) DisarmRequest( e ); }
public static void InvokeDisarmRequest(DisarmRequestEventArgs e) { DisarmRequest?.Invoke(e); }
public static void InvokeDisarmRequest(DisarmRequestEventArgs e) { if (DisarmRequest != null) { foreach (DisarmRequestEventHandler currentDelegate in DisarmRequest.GetInvocationList()) { try { currentDelegate.Invoke(e); } catch (Exception ex) { // Log an exception EventSink.InvokeLogException(new LogExceptionEventArgs(ex)); } } } }