示例#1
0
 private TableColumn GetTableColumn([NotNull] PropertyInfo propertyInfo)
 {
     return(new TableColumn
     {
         Getter = LambdaHelpers.CompileGetter(propertyInfo, TargetType),
         Name = propertyInfo.GetDisplayName(),
         Converter = GetConverterForType(propertyInfo.PropertyType),
     });
 }