Esempio n. 1
0
 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)));
 }
Esempio n. 2
0
 private PropertyMetadata(string propertyName, TypeMetadata propertyType)
 {
     IsExpanded     = false;
     m_Name         = propertyName;
     m_TypeMetadata = propertyType;
 }