From 3fb7e02653d62e2bf959aab7647e1a46f929864e Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Tue, 3 Mar 2026 12:50:27 +0000 Subject: [PATCH] update docs --- docs/API.md | 4 ++-- src/SharpCompress/Readers/ReaderOptions.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/API.md b/docs/API.md index 688c4119..fdef287a 100644 --- a/docs/API.md +++ b/docs/API.md @@ -231,11 +231,11 @@ using (var writer = WriterFactory.OpenWriter(stream, ArchiveType.Zip, Compressio ### ReaderOptions -Use factory presets and fluent helpers for common configurations: +Use preset properties and fluent helpers for common configurations: ```csharp // External stream with password and custom encoding -var options = ReaderOptions.ForExternalStream() +var options = ReaderOptions.ForExternalStream .WithPassword("password") .WithArchiveEncoding(new ArchiveEncoding { Default = Encoding.GetEncoding(932) }); diff --git a/src/SharpCompress/Readers/ReaderOptions.cs b/src/SharpCompress/Readers/ReaderOptions.cs index d2fa3f97..dd384d2d 100644 --- a/src/SharpCompress/Readers/ReaderOptions.cs +++ b/src/SharpCompress/Readers/ReaderOptions.cs @@ -10,9 +10,9 @@ namespace SharpCompress.Readers; /// Options for configuring reader behavior when opening archives. /// /// -/// This class is immutable. Use factory presets and fluent helpers for common configurations: +/// This class is immutable. Use preset properties and fluent helpers for common configurations: /// -/// var options = ReaderOptions.ForExternalStream() +/// var options = ReaderOptions.ForExternalStream /// .WithPassword("secret") /// .WithLookForHeader(true); ///