Пример #1
0
            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);
                }
            }
Пример #2
0
            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);
                }
            }
Пример #3
0
 protected internal void OnUpdateColumnChanged(CollectionOperationEventArgs <string> e)
 {
     UpdateColumnChanged?.Invoke(this, e);
 }
Пример #4
0
 private void OnUpdateColumnChanged(CollectionOperationEventArgs <string> e)
 {
     _owner?.OnUpdateColumnChanged(e);
 }
Пример #5
0
 protected void OnParameterChantged(CollectionOperationEventArgs <Parameter> e)
 {
     ParameterChantged?.Invoke(this, e);
 }
Пример #6
0
 protected internal void OnParameterChanged(CollectionOperationEventArgs <Parameter> e)
 {
     InvalidateNameToItem();
     _owner.OnParameterChantged(e);
 }