internal static IEnumerable <PropertyMetadata> EmitProperties(IEnumerable <PropertyInfo> props) { return(from prop in props where prop.GetGetMethod().GetVisible() || prop.GetSetMethod().GetVisible() select new PropertyMetadata(prop.Name, TypeMetadata.EmitReference(prop.PropertyType))); }
private PropertyMetadata(string propertyName, TypeMetadata propertyType) { IsExpanded = false; m_Name = propertyName; m_TypeMetadata = propertyType; }