Carrotware.CMS.Core.ObjectProperty.GetTypeProperties C# (CSharp) Метод

GetTypeProperties() публичный статический Метод

public static GetTypeProperties ( Type theType ) : List
theType System.Type
Результат List
        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;
        }