예제 #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));
예제 #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));
예제 #3
0
 public static ConventionBase <IType, List <IMethod> > Methods(this ConventionBuilder <IType, List <IMethod> > source) => source.Methods(_ => true);
예제 #4
0
 public static ConventionBase <IType, List <IProperty> > Methods(this ConventionBuilder <IType, List <IProperty> > source, Func <IMethod, bool> filter) => source.Methods(string.Empty, filter);