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

◆ ReadElementFromAsync()

async Task System.Xml.Linq.XElement.ReadElementFromAsync ( XmlReader r,
LoadOptions o,
CancellationToken cancellationTokentoken )
inlineprivate

Definition at line 1144 of file XElement.cs.

1145 {
1147 if (!r.IsEmptyElement)
1148 {
1149 cancellationTokentoken.ThrowIfCancellationRequested();
1150 await r.ReadAsync().ConfigureAwait(continueOnCapturedContext: false);
1152 }
1153 cancellationTokentoken.ThrowIfCancellationRequested();
1154 await r.ReadAsync().ConfigureAwait(continueOnCapturedContext: false);
1155 }
async Task ReadContentFromAsync(XmlReader r, CancellationToken cancellationToken)
void ReadElementFromImpl(XmlReader r, LoadOptions o)
Definition XElement.cs:1157

References System.Xml.Linq.XContainer.ReadContentFromAsync(), and System.Xml.Linq.XElement.ReadElementFromImpl().

Referenced by System.Xml.Linq.XElement.LoadAsyncInternal().