Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/10 03:07:12 (15 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • replaced Changed in IItem by ToStringChanged
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data/3.3/ValueTypeData.cs

    r2790 r2932  
    3838        if (!value.Equals(this.value)) {
    3939          this.value = value;
    40           OnChanged();
     40          OnValueChanged();
    4141        }
    4242      }
     
    5959      return value.ToString();
    6060    }
     61
     62    public event EventHandler ValueChanged;
     63    protected virtual void OnValueChanged() {
     64      if (ValueChanged != null)
     65        ValueChanged(this, EventArgs.Empty);
     66      OnToStringChanged();
     67    }
    6168  }
    6269}
Note: See TracChangeset for help on using the changeset viewer.