Inheritance: System.EventArgs
Beispiel #1
0
        protected virtual void OnParsed(FileInfo fi)
        {
            var args = new ParserEventArgs();

            args.ParsedFileInfo = fi;
            EventHandler handler = Parsed;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 protected virtual void OnParsed( FileInfo fi )
 {
     var args = new ParserEventArgs();
     args.ParsedFileInfo = fi;
     EventHandler handler = Parsed;
     if (handler != null) handler( this, args );
 }