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

◆ GetAttDef()

SchemaAttDef System.Xml.Schema.SchemaElementDecl.GetAttDef ( XmlQualifiedName qname)
inlinepackage

Definition at line 245 of file SchemaElementDecl.cs.

246 {
247 if (_attdefs.TryGetValue(qname, out var value))
248 {
249 return value;
250 }
251 return null;
252 }
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
readonly Dictionary< XmlQualifiedName, SchemaAttDef > _attdefs

References System.Xml.Schema.SchemaElementDecl._attdefs, System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue(), and System.value.

Referenced by System.Xml.Schema.DtdValidator.ValidateStartElement().