예제 #1
0
        public void GetClassesPropertiesReadable()
        {
            List <Type> types = MappingController.GetAllMapableTypes();

            if (types.Count > 0)
            {
                List <PropertyInfo> properties = MappingController.GetClassesPropertiesReadable(types[0].FullName);
                Assert.Greater(properties.Count, 0);
                Console.WriteLine(properties.Count.ToString() + " Properties were returned");
            }
        }
예제 #2
0
        public void GetAllSubClasses()
        {
            List <Type> types = MappingController.GetAllMapableTypes();

            Assert.Greater(types.Count, 0);
            Console.WriteLine(types.Count.ToString() + " Types were returned");
            foreach (Type type in types)
            {
                Console.WriteLine(type);
            }
        }