public static ConventionBase <IType, List <IMethod> > PublicMethods(this ConventionBuilder <IType, List <IMethod> > source, Func <IMethod, bool> filter) => source.Methods(o => o.IsPublic && filter(o));
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));
public static ConventionBase <IType, List <IMethod> > Methods(this ConventionBuilder <IType, List <IMethod> > source) => source.Methods(_ => true);
public static ConventionBase <IType, List <IProperty> > Methods(this ConventionBuilder <IType, List <IProperty> > source, Func <IMethod, bool> filter) => source.Methods(string.Empty, filter);