Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteXmlDeclarationAsync() [2/2]

override async Task System.Xml.XmlUtf8RawTextWriter.WriteXmlDeclarationAsync ( XmlStandalone standalone)
inlinepackagevirtualinherited

Reimplemented from System.Xml.XmlRawWriter.

Definition at line 1437 of file XmlUtf8RawTextWriter.cs.

1438 {
1441 {
1444 if (_encoding != null)
1445 {
1448 }
1449 if (standalone != 0)
1450 {
1452 await RawTextAsync((standalone == XmlStandalone.Yes) ? "yes" : "no").ConfigureAwait(continueOnCapturedContext: false);
1453 }
1455 }
1456 }
virtual string WebName
Definition Encoding.cs:386
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226

References System.Xml.XmlUtf8RawTextWriter._autoXmlDeclaration, System.Xml.XmlUtf8RawTextWriter._encoding, System.Xml.XmlUtf8RawTextWriter._omitXmlDeclaration, System.Xml.XmlUtf8RawTextWriter.CheckAsyncCall(), System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlUtf8RawTextWriter.RawTextAsync(), and System.Text.Encoding.WebName.