object IList.this[int index] { get { return(((IList)_items)[index]); } set { if (((IList)_items)[index] == value) { return; } CollectionOperationEventArgs <Parameter> e = new CollectionOperationEventArgs <Parameter>("Parameters", CollectionOperation.Update, index, (Parameter)value, _items[index]); ((IList)_items)[index] = value; OnParameterChanged(e); } }
public Parameter this[int index] { get { return(_items[index]); } set { if (_items[index] == value) { return; } CollectionOperationEventArgs <Parameter> e = new CollectionOperationEventArgs <Parameter>("Parameters", CollectionOperation.Update, index, value, _items[index]); _items[index] = value; OnParameterChanged(e); } }
protected internal void OnUpdateColumnChanged(CollectionOperationEventArgs <string> e) { UpdateColumnChanged?.Invoke(this, e); }
private void OnUpdateColumnChanged(CollectionOperationEventArgs <string> e) { _owner?.OnUpdateColumnChanged(e); }
protected void OnParameterChantged(CollectionOperationEventArgs <Parameter> e) { ParameterChantged?.Invoke(this, e); }
protected internal void OnParameterChanged(CollectionOperationEventArgs <Parameter> e) { InvalidateNameToItem(); _owner.OnParameterChantged(e); }