Example #1
0
 public PropertyMetadata(string propertyName, TypeMetadata propertyType)
 {
     m_Name         = propertyName;
     m_TypeMetadata = propertyType;
 }
Example #2
0
 public 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)));
 }