Skip to content

Commit 8d231b4

Browse files
msafwankarimMuhammad Safwan Karimcarlossanlop
authored
Synchronized description of destinationDirectoryName parameter for all methods (dotnet#100330)
Co-authored-by: Muhammad Safwan Karim <safwan_karim@diya-tech.com> Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
1 parent 56600b7 commit 8d231b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libraries/System.IO.Compression.ZipFile/src/System/IO/Compression/ZipFile.Extract.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static partial class ZipFile
3535
/// that is not supported.</exception>
3636
///
3737
/// <param name="sourceArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
38-
/// <param name="destinationDirectoryName">The path to the directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
38+
/// <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
3939
public static void ExtractToDirectory(string sourceArchiveFileName, string destinationDirectoryName) =>
4040
ExtractToDirectory(sourceArchiveFileName, destinationDirectoryName, entryNameEncoding: null, overwriteFiles: false);
4141

@@ -67,7 +67,7 @@ public static void ExtractToDirectory(string sourceArchiveFileName, string desti
6767
/// that is not supported.</exception>
6868
///
6969
/// <param name="sourceArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
70-
/// <param name="destinationDirectoryName">The path to the directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
70+
/// <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
7171
/// <param name="overwriteFiles">True to indicate overwrite.</param>
7272
public static void ExtractToDirectory(string sourceArchiveFileName, string destinationDirectoryName, bool overwriteFiles) =>
7373
ExtractToDirectory(sourceArchiveFileName, destinationDirectoryName, entryNameEncoding: null, overwriteFiles: overwriteFiles);
@@ -154,7 +154,7 @@ public static void ExtractToDirectory(string sourceArchiveFileName, string desti
154154
/// that is not supported.</exception>
155155
///
156156
/// <param name="sourceArchiveFileName">The path to the archive on the file system that is to be extracted.</param>
157-
/// <param name="destinationDirectoryName">The path to the directory on the file system. The directory specified must not exist, but the directory that it is contained in must exist.</param>
157+
/// <param name="destinationDirectoryName">The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.</param>
158158
/// <param name="overwriteFiles">True to indicate overwrite.</param>
159159
/// <param name="entryNameEncoding">The encoding to use when reading or writing entry names in this ZipArchive.
160160
/// /// <para>NOTE: Specifying this parameter to values other than <c>null</c> is discouraged.

0 commit comments

Comments
 (0)