Esempio n. 1
0
 public static ConventionBase <IType, List <IMethod> > PublicMethods(this ConventionBuilder <IType, List <IMethod> > source, Func <IMethod, bool> filter) =>
 source.Methods(o => o.IsPublic && filter(o));
Esempio n. 2
0
 public static ConventionBase <IType, List <IProperty> > PublicMethods(this ConventionBuilder <IType, List <IProperty> > source, string ignorePrefix, Func <IMethod, bool> filter) =>
 source.Methods(ignorePrefix, o => o.IsPublic && filter(o));
Esempio n. 3
0
 public static ConventionBase <IType, List <IMethod> > Methods(this ConventionBuilder <IType, List <IMethod> > source) => source.Methods(_ => true);
Esempio n. 4
0
 public static ConventionBase <IType, List <IProperty> > Methods(this ConventionBuilder <IType, List <IProperty> > source, Func <IMethod, bool> filter) => source.Methods(string.Empty, filter);