Open sandboxFocus

Method AddRules

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
Action<IEligibilityBuilder<T>> requirement
Type Parameters
Name Description
T