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