コード例 #1
0
        public void IndexableAttributeIsRemovableDynamically()
        {
            var list = new IndexableCollection <DecoratedClass>();

            Assert.IsTrue(list.RemoveIndex("SomeProperty"));
        }
コード例 #2
0
        public void RemoveBogusIndex()
        {
            var list = new IndexableCollection <PocoClass>();

            Assert.IsFalse(list.RemoveIndex("ThisIndexDoesNotExist"));
        }