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

◆ WriteStartAttribute() [3/4]

override void System.Xml.Linq.XNodeBuilder.WriteStartAttribute ( string prefix,
string localName,
string namespaceName )
inline

Definition at line 168 of file XNodeBuilder.cs.

169 {
170 if (prefix == null)
171 {
172 throw new ArgumentNullException("prefix");
173 }
174 _attrName = XNamespace.Get((prefix.Length == 0) ? string.Empty : namespaceName).GetName(localName);
175 _attrValue = string.Empty;
176 }
static XName Get(string expandedName)
Definition XName.cs:36

References System.Xml.Linq.XNodeBuilder._attrName, System.Xml.Linq.XNodeBuilder._attrValue, System.Xml.Dictionary, System.Xml.Linq.XNamespace.Get(), and System.prefix.