OnAdd() private method

private OnAdd ( XmlSchemaObjectCollection container, object item ) : void
container XmlSchemaObjectCollection
item object
return void
Example #1
0
 protected override void OnInsert(int index, object item)
 {
     if (_parent != null)
     {
         _parent.OnAdd(this, item);
     }
 }
Example #2
0
 protected override void OnInsert(int index, object?item)
 {
     _parent?.OnAdd(this, item);
 }