Event argument class.
상속: System.EventArgs
예제 #1
0
 /// <summary>
 /// …
 /// </summary>
 /// <param name="e">…</param>
 protected virtual void OnInputPathParsed(PathParsedEventArgs e)
 {
     if (InputPathParsed == null)
     {
         return;
     }
     InputPathParsed(this, e);
 }
예제 #2
0
        /// <summary>
        /// …
        /// </summary>
        /// <param name="sender">…</param>
        /// <param name="e">…</param>
        void Parser_InputPathParsed(object sender, PathParsedEventArgs e)
        {
            FileAttributes fa = File.GetAttributes(e.Path);

            if ((fa & FileAttributes.Directory) != 0)
            {
                _inputDir = e.Path;
            }
            else
            {
                _inputPath = e.Path;
            }
        }
예제 #3
0
 /// <summary>
 /// …
 /// </summary>
 /// <param name="sender">…</param>
 /// <param name="e">…</param>
 void Parser_InputPathParsed(object sender, PathParsedEventArgs e)
 {
     FileAttributes fa = File.GetAttributes(e.Path);
      if ((fa & FileAttributes.Directory) != 0) _inputDir = e.Path;
      else _inputPath = e.Path;
 }
예제 #4
0
 /// <summary>
 /// …
 /// </summary>
 /// <param name="e">…</param>
 protected virtual void OnInputPathParsed(PathParsedEventArgs e)
 {
     if (InputPathParsed == null) return;
      InputPathParsed(this, e);
 }