fCraft.IPBanList.RaiseRemovingIPBanEvent C# (CSharp) Method

RaiseRemovingIPBanEvent() private static method

private static RaiseRemovingIPBanEvent ( [ info ) : bool
info [
return bool
        private 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;
        }