Пример #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));