-
Notifications
You must be signed in to change notification settings - Fork 579
Add async xmlwriter methods #1902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add async xmlwriter methods #1902
Conversation
mikeebowen
commented
Mar 19, 2025
- closes Writing asynchronously with OpenXmlWriter #913
twsouthwick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - with this new settings object, it can be made available everywhere, except that the Async property would be around the if/def
twsouthwick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit, but overall good!
twsouthwick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a look at the docs, then it's good to merge
| { | ||
| #if FEATURE_ASYNC_SAX_XML | ||
| /// <summary> | ||
| /// Gets or sets a value indicating whether asynchronous OpenXmlPartWriter methods can be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// Gets or sets a value indicating whether asynchronous OpenXmlPartWriter methods can be used. | |
| /// Gets or sets a value indicating whether asynchronous <see cref="OpenXmlPartWriter" /> methods can be used. |
| #endif | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets a value indicating whether the OpenXmlPartWriter should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| /// Gets or sets a value indicating whether the OpenXmlPartWriter should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation. | |
| /// Gets or sets a value indicating whether the <see cref="OpenXmlPartWriter" /> should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation. |
Do you have a link to that part of the docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that really what the "CloseOutput" property does?
| public bool CloseOutput { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Gets or sets a value indicating whether the OpenXmlPartWriter should also close the underlying stream or TextWriter when the Close() method is called. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these summaries are off...