예제 #1
0
        public void GetPropertyDescriptionTest_2()
        {
            var tc = new testClass();

            Assert.AreEqual("Hello World", PropertyPlus.GetPropertyDescription(tc, PropertyPlus.GetPropertyName(() => tc.SmapleProperty)));
        }
예제 #2
0
        public void GetPropertyDescriptionTest()
        {
            var tc = new testClass();

            Assert.AreEqual("Hello World", PropertyPlus.GetPropertyDescription(tc, "SmapleProperty"));
        }