コード例 #1
0
 public static ConventionBase <IType, IIdExtractor> IdByProperty(
     this ConventionBuilder <IType, IIdExtractor> source, Func <IProperty, bool> filter
     ) => source.IdByProperty(filter, e => e);
コード例 #2
0
 public static ConventionBase <IType, IIdExtractor> IdByPublicProperty(
     this ConventionBuilder <IType, IIdExtractor> source, Func <IProperty, bool> filter,
     Func <PropertyValueExtractor, PropertyValueExtractor> configurationDelegate
     ) => source.IdByProperty(filter.And(m => m.IsPublic), configurationDelegate);