Ejemplo n.º 1
0
		/// <summary>
		/// Raise the ProcessFile event.
		/// </summary>
		/// <param name="file">The file name.</param>
		void OnProcessFile(string file)
		{
			ProcessFileHandler handler = ProcessFile;

			if (handler != null) {
				var args = new ScanEventArgs(file);
				handler(this, args);
				alive_ = args.ContinueRunning;
			}
		}
Ejemplo n.º 2
0
        private void OnProcessFile(string file)
        {
            ProcessFileHandler processFile = ProcessFile;

            if (processFile != null)
            {
                ScanEventArgs e = new ScanEventArgs(file);
                processFile(this, e);
                alive_ = e.ContinueRunning;
            }
        }
Ejemplo n.º 3
0
        // Token: 0x0600079B RID: 1947 RVA: 0x0002C588 File Offset: 0x0002A788
        private void OnProcessFile(string file)
        {
            ProcessFileHandler processFile = this.ProcessFile;

            if (processFile != null)
            {
                ScanEventArgs scanEventArgs = new ScanEventArgs(file);
                processFile(this, scanEventArgs);
                this.alive_ = scanEventArgs.ContinueRunning;
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Fires the <see cref="ProcessFile">ProcessFile delegate</see>.
        /// </summary>
        /// <param name="file">The file being processed.</param>
        /// <returns>A boolean indicating if execution should continue or not.</returns>
        public bool OnProcessFile(string file)
        {
            bool result = true;
            ProcessFileHandler handler = ProcessFile;

            if (handler != null)
            {
                ScanEventArgs args = new ScanEventArgs(file);
                handler(this, args);
                result = args.ContinueRunning;
            }
            return(result);
        }
Ejemplo n.º 5
0
        public bool OnProcessFile(string file)
        {
            bool result = true;
            ProcessFileHandler processFile = ProcessFile;

            if (processFile != null)
            {
                ScanEventArgs scanEventArgs = new ScanEventArgs(file);
                processFile(this, scanEventArgs);
                result = scanEventArgs.ContinueRunning;
            }
            return(result);
        }
Ejemplo n.º 6
0
        public bool OnProcessFile(string file)
        {
            bool continueRunning           = true;
            ProcessFileHandler processFile = ProcessFile;

            if (processFile != null)
            {
                ScanEventArgs e = new ScanEventArgs(file);
                processFile(this, e);
                continueRunning = e.ContinueRunning;
            }
            return(continueRunning);
        }