Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Eligibility / IEligibility­Builder<T> / Add­Rule

Method AddRule

AddRule(IEligibilityRule<T>)

Adds a rule to the current builder. For convenience, user code should use extension methods from EligibilityExtensions.

Declaration
void AddRule(IEligibilityRule<T> rule)
Parameters
Type Name Description
IEligibilityRule<T> rule