We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b60624 commit e1c9de1Copy full SHA for e1c9de1
Readme.md
@@ -26,7 +26,7 @@ var options = new CompressionOption
26
CompressionMethod = CompressionMethod.Lzma,
27
EncryptionMethod = EncryptionMethod.Aes256,
28
Password = "password",
29
- Filter = new Filter(files).Match,
+ Filter = Filter.From(files),
30
CodePage = CodePage.Utf8,
31
};
32
@@ -76,10 +76,7 @@ var password = new Cube.Query<string>(e =>
76
77
// Supports only the Filter property
78
var files = new[] { ".DS_Store", "Thumbs.db", "__MACOSX", "desktop.ini" };
79
-var options = new ArchiveOption
80
-{
81
- Filter = new Filter(files).Match
82
-};
+var options = new ArchiveOption { Filter = Filter.From(files) };
83
84
using (var reader = new ArchiveReader(@"path\to\archive", password, options))
85
{
0 commit comments