static bool RaiseRemovingIPBanEvent( [NotNull] IPBanInfo info ) { if( info == null ) throw new ArgumentNullException( "info" ); var h = RemovingIPBan; if( h == null ) return false; var e = new IPBanCancellableEventArgs( info ); h( null, e ); return e.Cancel; }
static bool RaiseRemovingIPBanEvent( IPBanInfo info ) { var h = RemovingIPBan; if( h == null ) return false; var e = new IPBanCancellableEventArgs( info ); h( null, e ); return e.Cancel; }