• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Core.ScanFailureEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ICSharpCode.SharpZipLib.Core.ScanFailureEventArgs的典型用法代码示例。如果您正苦于以下问题:C# ScanFailureEventArgs类的具体用法?C# ScanFailureEventArgs怎么用?C# ScanFailureEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ScanFailureEventArgs类属于ICSharpCode.SharpZipLib.Core命名空间,在下文中一共展示了ScanFailureEventArgs类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: OnDirectoryFailure

		/// <summary>
		/// Raise the directory failure event.
		/// </summary>
		/// <param name="directory">The directory.</param>
		/// <param name="e">The exception for this event.</param>
		public void OnDirectoryFailure(string directory, Exception e)
		{
			if ( DirectoryFailure != null ) {
				ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
				DirectoryFailure(this, args);
			}
		}
开发者ID:KonajuGames,项目名称:SharpLang,代码行数:12,代码来源:FastZip.cs


示例2: OnDirectoryFailure

 /// <summary>
 /// Raise the <see cref="DirectoryFailure">directory failure</see> event.
 /// </summary>
 /// <param name="directory">The directory causing the failure.</param>
 /// <param name="e">The exception for this event.</param>
 /// <returns>A boolean indicating if execution should continue or not.</returns>
 public bool OnDirectoryFailure(string directory, Exception e)
 {
     bool result = false;
     if ( DirectoryFailure != null ) {
         ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
         DirectoryFailure(this, args);
         result = args.ContinueRunning;
     }
     return result;
 }
开发者ID:hirous,项目名称:test,代码行数:16,代码来源:FastZip.cs


示例3: OnFileFailure

 private bool OnFileFailure(string file, Exception e)
 {
     bool flag = this.FileFailure != null;
     if (flag)
     {
         ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
         this.FileFailure(this, args);
         this.alive_ = args.ContinueRunning;
     }
     return flag;
 }
开发者ID:huaminglee,项目名称:myyyyshop,代码行数:11,代码来源:FileSystemScanner.cs


示例4: OnDirectoryFailure

 private bool OnDirectoryFailure(string directory, Exception e)
 {
     DirectoryFailureHandler directoryFailure = this.DirectoryFailure;
     bool flag = directoryFailure != null;
     if (flag)
     {
         ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
         directoryFailure(this, args);
         this.alive_ = args.ContinueRunning;
     }
     return flag;
 }
开发者ID:huaminglee,项目名称:myyyyshop,代码行数:12,代码来源:FileSystemScanner.cs


示例5: OnFileFailure

 public bool OnFileFailure(string file, Exception e)
 {
     FileFailureHandler fileFailure = this.FileFailure;
     bool continueRunning = fileFailure != null;
     if (continueRunning)
     {
         ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
         fileFailure(this, args);
         continueRunning = args.ContinueRunning;
     }
     return continueRunning;
 }
开发者ID:huaminglee,项目名称:myyyyshop,代码行数:12,代码来源:FastZipEvents.cs


示例6: OnDirectoryFailure

 public bool OnDirectoryFailure(string directory, Exception e)
 {
     bool continueRunning = false;
     DirectoryFailureHandler directoryFailure = this.DirectoryFailure;
     if (directoryFailure != null)
     {
         ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
         directoryFailure(this, args);
         continueRunning = args.ContinueRunning;
     }
     return continueRunning;
 }
开发者ID:huaminglee,项目名称:myyyyshop,代码行数:12,代码来源:FastZipEvents.cs


示例7: OnFileFailure

 /// <summary>
 /// Raises the <see cref="FileFailure">file failure delegate</see>.
 /// </summary>
 /// <param name="file">The file causing the failure.</param>
 /// <param name="e">The exception for this failure.</param>
 /// <returns>A boolean indicating if execution should continue or not.</returns>
 public bool OnFileFailure(string file, Exception e)
 {
     bool result = false;
     if ( FileFailure != null ) {
         ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
         FileFailure(this, args);
         result = args.ContinueRunning;
     }
     return result;
 }
开发者ID:svn2github,项目名称:awb,代码行数:16,代码来源:FastZip.cs


示例8: OnFileFailure

		/// <summary>
		/// Fires the <see cref="FileFailure"> file failure handler delegate</see>.
		/// </summary>
		/// <param name="file">The file causing the failure.</param>
		/// <param name="e">The exception for this failure.</param>
		/// <returns>A boolean indicating if execution should continue or not.</returns>
		public bool OnFileFailure(string file, Exception e)
		{
			FileFailureHandler handler = FileFailure;
            bool result = (handler != null);

			if ( result ) {
				ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
				handler(this, args);
				result = args.ContinueRunning;
			}
			return result;
		}
开发者ID:AlmatoolboxCE,项目名称:AlmaStyleFix,代码行数:18,代码来源:FastZip.cs


示例9: OnDirectoryFailure

 /// <summary>
 /// Raise the DirectoryFailure event.
 /// </summary>
 /// <param name="directory">The directory name.</param>
 /// <param name="e">The exception detected.</param>
 bool OnDirectoryFailure(string directory, Exception e)
 {
     DirectoryFailureHandler handler = DirectoryFailure;
     bool result = (handler != null);
     if ( result ) {
         ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
         handler(this, args);
         alive_ = args.ContinueRunning;
     }
     return result;
 }
开发者ID:yh200212121212,项目名称:ILSPY-code,代码行数:16,代码来源:FileSystemScanner.cs


示例10: OnFileFailure

        /// <summary>
        ///     Raise the FileFailure event.
        /// </summary>
        /// <param name="file">The file name.</param>
        /// <param name="e">The exception detected.</param>
        private bool OnFileFailure(string file, Exception e)
        {
            FileFailureHandler handler = FileFailure;

            bool result = (handler != null);

            if (result)
            {
                var args = new ScanFailureEventArgs(file, e);
                FileFailure(this, args);
                alive_ = args.ContinueRunning;
            }
            return result;
        }
开发者ID:XLPE,项目名称:imewlconverter,代码行数:19,代码来源:FileSystemScanner.cs


示例11: OnFileFailure

		/// <summary>
		/// Raise the FileFailure event.
		/// </summary>
		/// <param name="file">The file name.</param>
		/// <param name="e">The exception detected.</param>
		public void OnFileFailure(string file, Exception e)
		{
			if ( FileFailure == null ) {
				alive_ = false;
			} else {
				ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
				FileFailure(this, args);
				alive_ = args.ContinueRunning;
			}
		}
开发者ID:CMU-SAFARI,项目名称:MemSchedSim,代码行数:15,代码来源:FileSystemScanner.cs


示例12: OnDirectoryFailure

		/// <summary>
		/// Raise the DirectoryFailure event.
		/// </summary>
		/// <param name="directory">The directory name.</param>
		/// <param name="e">The exception detected.</param>
		public void OnDirectoryFailure(string directory, Exception e)
		{
			if ( DirectoryFailure == null ) {
				alive_ = false;
			} else {
				ScanFailureEventArgs args = new ScanFailureEventArgs(directory, e);
				DirectoryFailure(this, args);
				alive_ = args.ContinueRunning;
			}
		}
开发者ID:CMU-SAFARI,项目名称:MemSchedSim,代码行数:15,代码来源:FileSystemScanner.cs


示例13: OnDirectoryFailure

        /// <summary>
        /// Raise the <see cref="DirectoryFailure">directory failure</see> event.
        /// </summary>
        /// <param name="directory">The directory causing the failure.</param>
        /// <param name="e">The exception for this event.</param>
        /// <returns>A boolean indicating if execution should continue or not.</returns>
        public bool OnDirectoryFailure(string directory, Exception e)
        {
            bool result = false;
            DirectoryFailureHandler handler = DirectoryFailure;

            if (handler != null) {
                var args = new ScanFailureEventArgs(directory, e);
                handler(this, args);
                result = args.ContinueRunning;
            }
            return result;
        }
开发者ID:icsharpcode,项目名称:SharpZipLib,代码行数:18,代码来源:FastZip.cs


示例14: OnFileFailure

		/// <summary>
		/// Raises the file failure event.
		/// </summary>
		/// <param name="file">The file for this event.</param>
		/// <param name="e">The exception for this event.</param>
		public void OnFileFailure(string file, Exception e)
		{
			if ( FileFailure != null ) {
				ScanFailureEventArgs args = new ScanFailureEventArgs(file, e);
				FileFailure(this, args);
			}
		}
开发者ID:KonajuGames,项目名称:SharpLang,代码行数:12,代码来源:FastZip.cs



注:本文中的ICSharpCode.SharpZipLib.Core.ScanFailureEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Encryption.PkzipClassicManaged类代码示例发布时间:2022-05-26
下一篇:
C# Core.ScanEventArgs类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap