Example #1
0
 public static ConventionBase <IType, IIdExtractor> IdByMethod(
     this ConventionBuilder <IType, IIdExtractor> source, Func <IMethod, bool> filter
     ) => source.IdByMethod(filter, e => e);
Example #2
0
 public static ConventionBase <IType, IIdExtractor> IdByPublicMethod(
     this ConventionBuilder <IType, IIdExtractor> source, Func <IMethod, bool> filter,
     Func <PropertyValueExtractor, PropertyValueExtractor> configurationDelegate
     ) => source.IdByMethod(filter.And(o => o.IsPublic), configurationDelegate);