示例#1
0
 public static ConventionBase <IType, IValueExtractor> ValueByMethod(
     this ConventionBuilder <IType, IValueExtractor> source, Func <IMethod, bool> filter
     ) => source.ValueByMethod(filter, e => e);
示例#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);