From 5c3584983e2c72305254d5ca8ed2132c224af46b Mon Sep 17 00:00:00 2001 From: devrathnd Date: Wed, 10 Apr 2019 16:42:36 +0530 Subject: [PATCH 1/2] Change links to specific overloads of ZipFileExtensions Changed links to point to specific overloads of ZipFileExtensions.CreateEntryFromFile --- xml/System.IO.Compression/ZipArchive.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.IO.Compression/ZipArchive.xml b/xml/System.IO.Compression/ZipArchive.xml index 63fcd7f3878..714916db931 100644 --- a/xml/System.IO.Compression/ZipArchive.xml +++ b/xml/System.IO.Compression/ZipArchive.xml @@ -46,7 +46,7 @@ When you create a new entry, the file is compressed and added to the zip package. The method enables you to specify a directory hierarchy when adding the entry. You include the relative path of the new entry within the zip package. For example, creating a new entry with a relative path of `AddedFolder\NewFile.txt` creates a compressed text file in a directory named AddedFolder. - If you reference the `System.IO.Compression.FileSystem` assembly in your project, you can access three extension methods (from the class) for the class: , , and . These extension methods enable you to compress and decompress the contents of the entry to a file. The `System.IO.Compression.FileSystem` assembly is not available for [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps. In [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps, you can compress and decompress files by using the or class, or you can use the [!INCLUDE[wrt](~/includes/wrt-md.md)] types [Compressor](https://go.microsoft.com/fwlink/p/?LinkID=246357) and [Decompressor](https://go.microsoft.com/fwlink/p/?LinkID=246358). + If you reference the `System.IO.Compression.FileSystem` assembly in your project, you can access three extension methods (from the class) for the class: , , and . These extension methods enable you to compress and decompress the contents of the entry to a file. The `System.IO.Compression.FileSystem` assembly is not available for [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps. In [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps, you can compress and decompress files by using the or class, or you can use the [!INCLUDE[wrt](~/includes/wrt-md.md)] types [Compressor](https://go.microsoft.com/fwlink/p/?LinkID=246357) and [Decompressor](https://go.microsoft.com/fwlink/p/?LinkID=246358). @@ -676,4 +676,4 @@ - \ No newline at end of file + From e5db236711ad6727ca6938228387cd5b2035eb17 Mon Sep 17 00:00:00 2001 From: Ron Petrusha Date: Thu, 11 Apr 2019 15:21:20 +0530 Subject: [PATCH 2/2] Add links to the four extension methods for the ZipArchive Class Co-Authored-By: devrathnd --- xml/System.IO.Compression/ZipArchive.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.IO.Compression/ZipArchive.xml b/xml/System.IO.Compression/ZipArchive.xml index 714916db931..76980722fd2 100644 --- a/xml/System.IO.Compression/ZipArchive.xml +++ b/xml/System.IO.Compression/ZipArchive.xml @@ -46,7 +46,7 @@ When you create a new entry, the file is compressed and added to the zip package. The method enables you to specify a directory hierarchy when adding the entry. You include the relative path of the new entry within the zip package. For example, creating a new entry with a relative path of `AddedFolder\NewFile.txt` creates a compressed text file in a directory named AddedFolder. - If you reference the `System.IO.Compression.FileSystem` assembly in your project, you can access three extension methods (from the class) for the class: , , and . These extension methods enable you to compress and decompress the contents of the entry to a file. The `System.IO.Compression.FileSystem` assembly is not available for [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps. In [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps, you can compress and decompress files by using the or class, or you can use the [!INCLUDE[wrt](~/includes/wrt-md.md)] types [Compressor](https://go.microsoft.com/fwlink/p/?LinkID=246357) and [Decompressor](https://go.microsoft.com/fwlink/p/?LinkID=246358). + If you reference the `System.IO.Compression.FileSystem` assembly in your project, you can access four extension methods (from the class) for the class: , , , and (available in .NET Core 2.0 and later versions). These extension methods enable you to compress and decompress the contents of the entry to a file. The `System.IO.Compression.FileSystem` assembly is not available for [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps. In [!INCLUDE[win8_appname_long](~/includes/win8-appname-long-md.md)] apps, you can compress and decompress files by using the or class, or you can use the [!INCLUDE[wrt](~/includes/wrt-md.md)] types [Compressor](https://go.microsoft.com/fwlink/p/?LinkID=246357) and [Decompressor](https://go.microsoft.com/fwlink/p/?LinkID=246358).