-
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
Changes from 25 commits
9bf718b
f71c2f9
7b722f8
8079fe5
095973f
aeb8c57
b409310
46bada0
e3e30d3
bf67eb8
19eaef9
2e0636f
94ef2cc
6e5e262
b3ff0d6
602ad1e
83613f0
622c3f6
2875ad6
e07449c
5f1d125
0b03d26
0421110
6c3a0a0
e97b0b5
c2b9513
0ec2368
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,29 @@ | ||||||
| // Copyright (c) Microsoft. All rights reserved. | ||||||
| // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||||||
|
|
||||||
| #if FEATURE_ASYNC_SAX_XML | ||||||
| using System.Text; | ||||||
|
|
||||||
| namespace DocumentFormat.OpenXml; | ||||||
|
|
||||||
| /// <summary> | ||||||
| /// Settings for the OpenXmlPartWriter. | ||||||
| /// </summary> | ||||||
| public class OpenXmlPartWriterSettings | ||||||
| { | ||||||
| /// <summary> | ||||||
| /// Gets or sets a value indicating whether asynchronous OpenXmlPartWriter methods can be used. | ||||||
| /// </summary> | ||||||
| public bool Async { get; set; } | ||||||
|
|
||||||
| /// <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. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Do you have a link to that part of the docs?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that really what the "CloseOutput" property does? |
||||||
| /// </summary> | ||||||
| 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. | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think these summaries are off... |
||||||
| /// </summary> | ||||||
| public Encoding Encoding { get; set; } = Encoding.UTF8; | ||||||
| } | ||||||
| #endif | ||||||
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.