/// <summary> /// Initializes a new instance of the <see cref="DirectoryScanErrorEventArgs"/> class. /// </summary> /// <param name="directoryPath">The directory path.</param> /// <param name="errorType">Type of the error.</param> public DirectoryScanErrorEventArgs(string directoryPath, DirectoryScanErrorType errorType) { this.DirectoryPath = directoryPath; this.ErrorType = errorType; }