/// <summary>
        /// 引发 <see cref="DownloadProgressChanged"/> 事件
        /// </summary>
        /// <param name="e"></param>
        public virtual void OnDownloadProgressChanged(PackageDownloadProgressChangedEventArgs e)
        {
            var handler = DownloadProgressChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
		/// <summary>
		/// 引发 <see cref="DownloadProgressChanged"/> 事件
		/// </summary>
		/// <param name="e"></param>
		public virtual void OnDownloadProgressChanged(PackageDownloadProgressChangedEventArgs e)
		{
			var handler = DownloadProgressChanged;

			if (handler != null) handler(this, e);
		}