WebKit.WebKitDownload.NotifyDidReceiveDataOfLength C# (CSharp) Method

NotifyDidReceiveDataOfLength() private method

private NotifyDidReceiveDataOfLength ( WebDownload download, uint length ) : bool
download WebDownload
length uint
return bool
        internal bool NotifyDidReceiveDataOfLength(WebDownload download, uint length)
        {
            if (DidCancel)
            {
                download.cancel();
                return false;
            }
            else
            {
                DownloadReceiveData(this, new DownloadReceiveDataEventArgs(length));
                return true;
            }
        }