Example #1
0
 public static ConventionBase <IType, List <IConstructor> > PublicConstructors(this ConventionBuilder <IType, List <IConstructor> > source, Func <IConstructor, bool> filter) =>
 source.Constructors(i => i.IsPublic && filter(i));
Example #2
0
 public static ConventionBase <IType, List <IConstructor> > Constructors(this ConventionBuilder <IType, List <IConstructor> > source) => source.Constructors(_ => true);