Example #1
0
 public static ConventionBase <IType, List <IProperty> > Properties(this ConventionBuilder <IType, List <IProperty> > source) => source.Properties(_ => true);
Example #2
0
 public static ConventionBase <IType, List <IMethod> > Properties(this ConventionBuilder <IType, List <IMethod> > source, Func <IProperty, bool> filter) => source.Properties(Constants.PROPERTY_AS_METHOD_DEFAULT_PREFIX, filter);
Example #3
0
 public static ConventionBase <IType, List <IMethod> > PublicProperties(this ConventionBuilder <IType, List <IMethod> > source, string namePrefix, Func <IProperty, bool> filter) =>
 source.Properties(namePrefix, m => m.IsPublic && filter(m));
Example #4
0
 public static ConventionBase <IType, List <IProperty> > PublicProperties(this ConventionBuilder <IType, List <IProperty> > source, Func <IProperty, bool> filter) =>
 source.Properties(m => m.IsPublic && filter(m));