ReferencePredicateExtensions Class
Extension methods for ReferencePredicate and ReferencePredicateBuilder.
Namespace: Metalama.Extensions.Architecture.Predicates
Assembly: Metalama.Extensions.Architecture.dll
Syntax
[CompileTime]
public static class ReferencePredicateExtensions : Object
Methods
Name | Description |
---|---|
Always(ReferencePredicateBuilder) | Returns a predicate that always evaluate to |
And(ReferencePredicate, ReferencePredicate) | Combines two predicates with the |
And(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>) | Combines two predicates with the |
Any(ReferencePredicateBuilder, Func<ReferencePredicateBuilder, IEnumerable<ReferencePredicate>>) | Combines several other predicates with the |
AnyType(ReferencePredicateBuilder, IEnumerable<Type>) | Accepts code references contained in any type in a given list. |
AnyType(ReferencePredicateBuilder, Type[]) | Accepts code references contained in any type in a given list. |
Assembly(ReferencePredicateBuilder, String) | Accepts code references contained in a given assembly. |
CurrentAssembly(ReferencePredicateBuilder) | Accepts code references contained in the current assembly. |
CurrentNamespace(ReferencePredicateBuilder) | Accepts code references contained in the current namespace. |
HasFamilyAccess(ReferencePredicateBuilder) | Accepts code references that are legitimate based on family access rules, but rejects code references that are legitimate according to other rules. |
Namespace(ReferencePredicateBuilder, String) | Accepts code references contained in a given namespace. |
NamespaceOf(ReferencePredicateBuilder, Type) | Accepts code references contained in the namespace of a given type. |
Not(ReferencePredicate) | Inverts the given predicate. |
Or(ReferencePredicate, ReferencePredicate) | Combines two predicates with the |
Or(ReferencePredicate, Func<ReferencePredicateBuilder, ReferencePredicate>) | Combines two predicates with the |
Type(ReferencePredicateBuilder, String) | Accepts code references contained in a given type specified as a string, optionally containing wildcards |
Type(ReferencePredicateBuilder, Type) | Accepts code references contained in a given type. |