コード例 #1
0
		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);
		}
コード例 #2
0
		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);
		}