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

◆ Add() [5/6]

XmlSchema? System.Xml.Schema.XmlSchemaSet.Add ( XmlSchema schema)
inline

Definition at line 351 of file XmlSchemaSet.cs.

352 {
353 if (schema == null)
354 {
355 throw new ArgumentNullException("schema");
356 }
358 {
359 if (_schemas.ContainsKey(schema.SchemaId))
360 {
361 return schema;
362 }
363 return Add(schema.TargetNamespace, schema);
364 }
365 }
virtual bool ContainsKey(object key)
readonly SortedList _schemas

References System.Xml.Schema.XmlSchemaSet._schemas, System.Add, System.Collections.SortedList.ContainsKey(), System.Xml.Dictionary, and System.Xml.Schema.XmlSchemaSet.InternalSyncObject.