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

◆ RemoveSchemaFromCaches()

void System.Xml.Schema.XmlSchemaSet.RemoveSchemaFromCaches ( XmlSchema schema)
inlineprivate

Definition at line 1107 of file XmlSchemaSet.cs.

1108 {
1110 schema.GetExternalSchemasList(list, schema);
1111 for (int i = 0; i < list.Count; i++)
1112 {
1113 if (list[i].BaseUri != null && list[i].BaseUri.OriginalString.Length != 0)
1114 {
1115 _schemaLocations.Remove(list[i].BaseUri);
1116 }
1119 foreach (ChameleonKey item in keys)
1120 {
1121 if (item.chameleonLocation.Equals(list[i].BaseUri) && (item.originalSchema == null || item.originalSchema == list[i]))
1122 {
1124 }
1125 }
1126 for (int j = 0; j < arrayList.Count; j++)
1127 {
1129 }
1130 }
1131 }
void Add(TKey key, TValue value)
virtual void Remove(object key)
virtual ICollection Keys
Definition Hashtable.cs:532
readonly Hashtable _chameleonSchemas
readonly Hashtable _schemaLocations

References System.Xml.Schema.XmlSchemaSet._chameleonSchemas, System.Xml.Schema.XmlSchemaSet._schemaLocations, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, System.item, System.Collections.Hashtable.Keys, System.keys, System.list, and System.Collections.Hashtable.Remove().

Referenced by System.Xml.Schema.XmlSchemaSet.Remove(), and System.Xml.Schema.XmlSchemaSet.Reprocess().