예제 #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);
 }