Пример #1
0
        public void FindTest()
        {
            var a = new[] { new EClass(1), new EClass(2) };
            var l = new EventedList <EClass>(a);

            Assert.That(l.Find(e => e.Prop == 1), Is.EqualTo(a[0]));
            Assert.That(l.Find(e => e.Prop == 7), Is.Null);
        }