Example #1
0
        public void TestIndexes()
        {
            var t  = typeof(indexSample);
            var f  = t.GetProperty("Name");
            var os = ClassHelper.GetAttributes <IndexAttribute>(f, false);

            Assert.AreEqual(2, os.Length);
        }