private void RemoveIndex(int index) { List <EntityParameter> items = InnerList; Debug.Assert((null != items) && (0 <= index) && (index < Count), "RemoveIndex, invalid"); EntityParameter item = items[index]; items.RemoveAt(index); item.ResetParent(); }
private void Replace(int index, object newValue) { List <EntityParameter> items = InnerList; Debug.Assert((null != items) && (0 <= index) && (index < Count), "Replace Index invalid"); ValidateType(newValue); Validate(index, newValue); EntityParameter item = items[index]; items[index] = (EntityParameter)newValue; item.ResetParent(); }