Exemplo n.º 1
0
 public static ConventionBase <IType, IValueExtractor> ValueByMethod(
     this ConventionBuilder <IType, IValueExtractor> source, Func <IMethod, bool> filter
     ) => source.ValueByMethod(filter, e => e);
Exemplo n.º 2
0
 public static ConventionBase <IType, IValueExtractor> ValueByPublicMethod(
     this ConventionBuilder <IType, IValueExtractor> source, Func <IMethod, bool> filter,
     Func <PropertyValueExtractor, PropertyValueExtractor> configurationDelegate
     ) => source.ValueByMethod(filter.And(o => o.IsPublic), configurationDelegate);