MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityEligibility­ExtensionsMust­Satisfy­All
Open sandboxFocus

EligibilityExtensions.MustSatisfyAll Method

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

Adds a group of conditions to the given IEligibilityBuilder, where all conditions 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
System.Action<IEligibilityBuilder<T>>[] requirements
Type Parameters
Name Description
T