Carrotware.Web.UI.Controls.CarrotGridView.GetProperties C# (CSharp) Метод

GetProperties() публичный Метод

public GetProperties ( object obj ) : List
obj object
Результат List
        public List<string> GetProperties(object obj)
        {
            PropertyInfo[] info = obj.GetType().GetProperties();

            List<string> props = (from i in info.AsEnumerable()
                                  select i.Name).ToList();
            return props;
        }