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

◆ GetDeclarationAttr() [2/2]

string System.Xml.XmlNodeReaderNavigator.GetDeclarationAttr ( XmlDeclaration decl,
string name )
inline

Definition at line 383 of file XmlNodeReaderNavigator.cs.

384 {
385 return name switch
386 {
387 "version" => decl.Version,
388 "encoding" => decl.Encoding,
389 "standalone" => decl.Standalone,
390 _ => null,
391 };
392 }

Referenced by System.Xml.XmlNodeReaderNavigator.GetAttribute(), System.Xml.XmlNodeReaderNavigator.GetAttribute(), and System.Xml.XmlNodeReaderNavigator.GetAttribute().