Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Eligibility / Eligibility­Extensions / Must­Satisfy­All

Method MustSatisfyAll

MustSatisfyAll<T>(IEligibilityBuilder<T>, Action<IEligibilityBuilder<T>>[])

Adds a group of conditions to the given IEligibilityBuilder, where at least one condition must be satisfied by the declaration in order to be eligible for the aspect.

Declaration
public static void MustSatisfyAll<T>(this IEligibilityBuilder<T> eligibilityBuilder, params Action<IEligibilityBuilder<T>>[] requirements)
where T : class
Parameters
Type Name Description
IEligibilityBuilder<T> eligibilityBuilder
Action<IEligibilityBuilder<T>>[] requirements
Type Parameters
Name Description
T