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