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

◆ XmlAtomicValue() [9/9]

System.Xml.Schema.XmlAtomicValue.XmlAtomicValue ( XmlSchemaType xmlType,
object value,
IXmlNamespaceResolver nsResolver )
inlinepackage

Definition at line 359 of file XmlAtomicValue.cs.

360 {
361 if (value == null)
362 {
363 throw new ArgumentNullException("value");
364 }
365 if (xmlType == null)
366 {
367 throw new ArgumentNullException("xmlType");
368 }
369 _xmlType = xmlType;
370 _objVal = value;
371 if (nsResolver != null && (_xmlType.TypeCode == XmlTypeCode.QName || _xmlType.TypeCode == XmlTypeCode.Notation))
372 {
373 XmlQualifiedName xmlQualifiedName = _objVal as XmlQualifiedName;
374 string @namespace = xmlQualifiedName.Namespace;
375 _nsPrefix = new NamespacePrefixForQName(nsResolver.LookupPrefix(@namespace), @namespace);
376 }
377 }
readonly XmlSchemaType _xmlType

References System.Xml.Schema.XmlAtomicValue._objVal, System.Xml.Schema.XmlAtomicValue._xmlType, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaType.TypeCode, and System.value.