示例#1
0
 public static ITypeQuery AreNotAbstract(this ITypeQuery typeQuery) => typeQuery.Satisfied(NotAbstractTypeQueryCriteria.Instance);
示例#2
0
 public static ITypeQuery HasAnyAttribute(this ITypeQuery typeQuery, params Type[] attrTypes) => typeQuery.Satisfied(new HasAttributeTypeQueryCriteria(attrTypes));
示例#3
0
 public static ITypeQuery AreNotGenericTypeDefinition(this ITypeQuery typeQuery) => typeQuery.Satisfied(NotGenericTypeDefinition.Instance);
示例#4
0
 public static ITypeQuery HasAttribute <T>(this ITypeQuery typeQuery) => typeQuery.Satisfied(new HasAttributeTypeQueryCriteria(typeof(T)));
示例#5
0
 public static ITypeQuery InheritFromInterface(this ITypeQuery typeQuery, Type type)
 => typeQuery.Satisfied(new InheritFromInterfaceTypeQueryCriteria(type));