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

◆ OpenAndPushAsync()

async Task< bool > System.Xml.XmlTextReaderImpl.OpenAndPushAsync ( Uri uri)
inlineprivate

Definition at line 12736 of file XmlTextReaderImpl.cs.

12737 {
12739 {
12741 if (textReader == null)
12742 {
12743 return false;
12744 }
12747 }
12748 else
12749 {
12751 if (stream == null)
12752 {
12753 return false;
12754 }
12757 }
12758 return true;
12759 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
virtual bool SupportsType(Uri absoluteUri, Type? type)
virtual Task< object > GetEntityAsync(Uri absoluteUri, string? role, Type? ofObjectToReturn)
Task InitStreamInputAsync(Uri baseUri, Stream stream, Encoding encoding)
Task InitTextReaderInputAsync(string baseUriStr, TextReader input)

References System.Xml.XmlTextReaderImpl._xmlResolver, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.XmlResolver.GetEntityAsync(), System.Xml.XmlTextReaderImpl.InitStreamInputAsync(), System.Xml.XmlTextReaderImpl.InitTextReaderInputAsync(), System.Xml.XmlTextReaderImpl.PushParsingState(), System.stream, System.Xml.XmlTextReaderImpl.Stream, System.Xml.XmlResolver.SupportsType(), System.Xml.XmlTextReaderImpl.TextReader, and System.Uri.ToString().

Referenced by System.Xml.XmlTextReaderImpl.PushExternalEntityOrSubsetAsync().