fCraft.Updater.RaiseCheckingForUpdatesEvent C# (CSharp) Method

RaiseCheckingForUpdatesEvent() private static method

private static RaiseCheckingForUpdatesEvent ( string &updateUrl ) : bool
updateUrl string
return bool
        private static bool RaiseCheckingForUpdatesEvent( ref string updateUrl )
        {
            var h = CheckingForUpdates;
            if ( h == null )
                return false;
            var e = new CheckingForUpdatesEventArgs( updateUrl );
            h( null, e );
            updateUrl = e.Url;
            return e.Cancel;
        }