You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Magicodes.IE.IO/Xlsx.cs
+66-7Lines changed: 66 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ namespace Magicodes.IE.IO
13
13
/// </summary>
14
14
/// <remarks>
15
15
/// <para><b>Export:</b> use the <see cref="Write{T}(System.String, IEnumerable{T}, System.Action{ExportProfile{T}}, XlsxWriteOptions)"/> overloads to write rows to a file, stream, <see cref="IBufferWriter{T}"/>, or <see cref="byte"/> array.</para>
16
-
/// <para><b>Import:</b> use the <see cref="Read{T}(Stream, XlsxReadOptions{T}, Action{XlsxReadErrorInfo})"/> overloads to stream deserialized rows from a workbook.</para>
16
+
/// <para><b>Import:</b> use the <see cref="Read{T}(Stream, XlsxReadOptions{T}?, Action{XlsxReadErrorInfo}?, bool)"/> overloads to stream deserialized rows from a workbook.</para>
/// <para>When no <see cref="ExportProfile{T}"/> is supplied, headers and formats are inferred from property names and from <c>[Display]</c>, <c>[Description]</c>, and <c>[DisplayFormat]</c> attributes. The underlying writer/reader is a dependency-free, streaming, low-allocation OOXML implementation and does not depend on EPPlus.</para>
19
19
/// <para><b>Lifetime:</b> overloads that take a <c>path</c> own and dispose the underlying <see cref="FileStream"/>; overloads that take a <see cref="Stream"/> or <see cref="IBufferWriter{T}"/> do not, and the caller is responsible for disposal. Note: the Read/ReadAsync stream overloads DO own and dispose the supplied stream when enumeration completes.</para>
/// Asynchronously writes the specified rows to the .xlsx file at <paramref name="path"/>.
166
+
/// </summary>
167
+
/// <remarks>Equivalent to opening a <see cref="FileStream"/> and calling the stream overload; the file stream is owned and disposed by this method.</remarks>
/// Exports the specified rows to a <see cref="byte"/> array.
166
225
/// </summary>
@@ -205,9 +264,9 @@ private static int EstimateToBytesCapacity<T>(IEnumerable<T> data)
205
264
/// <param name="onParseError">Optional callback invoked when a cell cannot be parsed. When omitted, a <see cref="XlsxException"/> is thrown on the first parse error.</param>
206
265
/// <returns>A lazy <see cref="IEnumerable{T}"/>. Each row is parsed on demand as you iterate; do not enumerate the result more than once.</returns>
207
266
/// <remarks>When a source-generated reader is available for <typeparamref name="T"/>, it is used for reflection-free reading; otherwise reflection is used.</remarks>
0 commit comments