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

◆ OnSet()

override void System.Xml.Schema.XmlSchemaObjectCollection.OnSet ( int index,
object? oldValue,
object? newValue )
inlineprotectedvirtual

Reimplemented from System.Collections.CollectionBase.

Definition at line 73 of file XmlSchemaObjectCollection.cs.

74 {
75 if (_parent != null)
76 {
78 _parent.OnAdd(this, newValue);
79 }
80 }
virtual void OnRemove(XmlSchemaObjectCollection container, object item)
virtual void OnAdd(XmlSchemaObjectCollection container, object item)

References System.Xml.Schema.XmlSchemaObjectCollection._parent, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaObject.OnAdd(), and System.Xml.Schema.XmlSchemaObject.OnRemove().