MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityEligibility­ExtensionsAdd­Rules
Open sandboxFocus

EligibilityExtensions.AddRules Method

AddRules<T>(IEligibilityBuilder<T>, Action<IEligibilityBuilder<T>>)

Adds rules to the given IEligibilityBuilder by operating directly on the IEligibilityBuilder.

Declaration
public static void AddRules<T>(this IEligibilityBuilder<T> eligibilityBuilder, Action<IEligibilityBuilder<T>> requirement)
where T : class
Parameters
Type Name Description
IEligibilityBuilder<T> eligibilityBuilder
System.Action<IEligibilityBuilder<T>> requirement
Type Parameters
Name Description
T