当前位置: 首页>>代码示例>>C#>>正文


C# Core.ScanFailureEventArgs类代码示例

本文整理汇总了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;未经允许,请勿转载。