public ColumnModifier CreateModifier(ColumnDefinition accessorDef)
 {
     return _matches(accessorDef) ? _modifierBuilder(accessorDef) : null;
 }
示例#2
0
 public JqGridColumn Build(ColumnDefinition definition)
 {
     var column = new JqGridColumn();
     _modifiers.Select(m => m.CreateModifier(definition)).Where(x => x != null).ToList().ForEach(x => x(definition, column));
     return column;
 }