示例#1
0
 public static IEnumerable <PropertyAndFieldAccessor> GetPropsAndFields <T>(Func <PropertyAndFieldAccessor, bool> predicate = null)
     where T : class
 {
     return(PropertyAndFieldCache.Get <T>(predicate));
 }
示例#2
0
 public static IEnumerable <PropertyAndFieldAccessor> GetPropsAndFields(Type t, Func <PropertyAndFieldAccessor, bool> predicate = null)
 {
     return(PropertyAndFieldCache.Get(t, predicate));
 }