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

◆ FindPrefix()

bool System.Xml.Xsl.XsltOld.OutputScope.FindPrefix ( string urn,
out string prefix )
inlinepackage

Definition at line 121 of file OutputScope.cs.

122 {
123 for (NamespaceDecl next = scopes; next != null; next = next.Next)
124 {
125 if (Ref.Equal(next.Uri, urn) && next.Prefix != null && next.Prefix.Length > 0)
126 {
127 prefix = next.Prefix;
128 return true;
129 }
130 }
131 prefix = string.Empty;
132 return false;
133 }

References System.Xml.Dictionary, System.Xml.Ref.Equal(), System.Xml.Xsl.XsltOld.NamespaceDecl.Next, System.prefix, and System.Xml.Xsl.XsltOld.DocumentScope.scopes.