public static IEnumerable <PropertyModel> EmitProperties(PropertyInfo[] props) { return(from prop in props //where prop.GetGetMethod().GetVisible() || prop.GetSetMethod().GetVisible() select new PropertyModel(prop, TypeModel.GetType(prop.PropertyType))); }