Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Aspects / Declarative­Advice­Attribute / Build­Aspect­Eligibility

Method BuildAspectEligibility

BuildAspectEligibility(IEligibilityBuilder<IDeclaration>, IMemberOrNamedType)

Builds the eligibility of an aspect that contains the current declarative advice.

Declaration
public virtual void BuildAspectEligibility(IEligibilityBuilder<IDeclaration> builder, IMemberOrNamedType adviceMember)
Parameters
Type Name Description
IEligibilityBuilder<IDeclaration> builder
IMemberOrNamedType adviceMember