/// <summary> /// … /// </summary> /// <param name="e">…</param> protected virtual void OnInputPathParsed(PathParsedEventArgs e) { if (InputPathParsed == null) { return; } InputPathParsed(this, e); }
/// <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; } }
/// <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; }
/// <summary> /// … /// </summary> /// <param name="e">…</param> protected virtual void OnInputPathParsed(PathParsedEventArgs e) { if (InputPathParsed == null) return; InputPathParsed(this, e); }