Ejemplo n.º 1
0
 public static ConventionBase <IType, IValueExtractor> ValueByProperty(
     this ConventionBuilder <IType, IValueExtractor> source, Func <IProperty, bool> filter
     ) => source.ValueByProperty(filter, e => e);
Ejemplo n.º 2
0
 public static ConventionBase <IType, IValueExtractor> ValueByPublicProperty(
     this ConventionBuilder <IType, IValueExtractor> source, Func <IProperty, bool> filter,
     Func <PropertyValueExtractor, PropertyValueExtractor> configurationDelegate
     ) => source.ValueByProperty(filter.And(m => m.IsPublic), configurationDelegate);