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

◆ ReplaceNamespaceAlias()

override void System.Xml.Xsl.XsltOld.BeginEvent.ReplaceNamespaceAlias ( Compiler compiler)
inlinevirtual

Reimplemented from System.Xml.Xsl.XsltOld.Event.

Definition at line 37 of file BeginEvent.cs.

38 {
39 if (_nodeType == XPathNodeType.Attribute && _namespaceUri.Length == 0)
40 {
41 return;
42 }
43 NamespaceInfo namespaceInfo = compiler.FindNamespaceAlias(_namespaceUri);
44 if (namespaceInfo != null)
45 {
46 _namespaceUri = namespaceInfo.nameSpace;
47 if (namespaceInfo.prefix != null)
48 {
49 _prefix = namespaceInfo.prefix;
50 }
51 }
52 }
readonly XPathNodeType _nodeType
Definition BeginEvent.cs:7

References System.Xml.Xsl.XsltOld.BeginEvent._namespaceUri, System.Xml.Xsl.XsltOld.BeginEvent._nodeType, System.Xml.Xsl.XsltOld.BeginEvent._prefix, and System.Xml.Dictionary.