public void SetUp() { this.Data = new DataClass(); this.Data.Data = 10; this.WasValueChangedCalled = false; this.Level = new PropertyLevel(typeof(DataClass), "Data", 150, this.ValueChanged); this.Level.RegisterPropertyChanged(this.Data); }
public void SetUp() { this.Data = new DataClass(); this.Data.DataList.Add(1); this.Data.DataList.Add(2); this.Data.DataList.Add(3); this.Data.DataList.Add(4); this.WasValueChangedCalled = false; this.Level = new IndexerLevel(typeof(DataClass), "0", 150, this.ValueChanged); this.Level.RegisterPropertyChanged(this.Data); }