Extension methods for IValidatorReceiver<TDeclaration>.
Namespace: Metalama.Framework.Validation
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class ValidatorReceiverExtensions
Methods
Name | Description |
---|---|
SelectDeclarationsWithAttribute(IValidatorReceiver<ICompilation>, Type, Func<IAttribute, bool>?, bool) | Selects all custom attributes of a given type in the current compilation. This overloads accepts an optional predicate to filter the attribute. |
SelectDeclarationsWithAttribute<TAttribute>(IValidatorReceiver<ICompilation>, Func<TAttribute, bool>?, bool) | Selects all custom attributes of a given type in the current compilation. This generic overloads constructs the attribute and accepts an optional predicate to filter the attribute. |
SelectReferencedAssembly(IValidatorReceiver<ICompilation>, string) | Selects a reference assembly in the current compilation given its assembly name. |
SelectReflectionType(IValidatorReceiver<ICompilation>, Type) | Selects an INamedType in the current compilation or in a reference assembly given its reflection Type. |
SelectReflectionTypes(IValidatorReceiver<ICompilation>, IEnumerable<Type>) | Selects several INamedType in the current compilation or in a reference assembly given their reflection Type. |
SelectReflectionTypes(IValidatorReceiver<ICompilation>, params Type[]) | Selects several INamedType in the current compilation or in a reference assembly given their reflection Type. |