public static List<ObjectProperty> GetTypeProperties(Type theType)
{
List<ObjectProperty> props = (from i in ReflectionUtilities.GetProperties(theType)
select new ObjectProperty {
Name = i.Name,
PropertyType = i.PropertyType,
CanRead = i.CanRead,
CanWrite = i.CanWrite
}).ToList();
return props;
}