コード例 #1
0
ファイル: FileSystemScanner.cs プロジェクト: GodLesZ/svn-dump
		/// <summary>
		/// Raise the complete file event
		/// </summary>
		/// <param name="file">The file name</param>
		void OnCompleteFile( string file ) {
			CompletedFileHandler handler = CompletedFile;

			if( handler != null ) {
				ScanEventArgs args = new ScanEventArgs( file );
				handler( this, args );
				alive_ = args.ContinueRunning;
			}
		}
コード例 #2
0
ファイル: FileSystemScanner.cs プロジェクト: GodLesZ/svn-dump
		/// <summary>
		/// Raise the ProcessFile event.
		/// </summary>
		/// <param name="file">The file name.</param>
		void OnProcessFile( string file ) {
			ProcessFileHandler handler = ProcessFile;

			if( handler != null ) {
				ScanEventArgs args = new ScanEventArgs( file );
				handler( this, args );
				alive_ = args.ContinueRunning;
			}
		}