MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityIEligibility­Builder
Open sandboxFocus

IEligibilityBuilder Interface

The non-generic base interface for IEligibilityBuilder<T>.

Namespace: Metalama.Framework.Eligibility
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IEligibilityBuilder

Properties

Name Description
IneligibleScenarios

Gets the EligibleScenarios value that rules must return in case they evaluate negatively, i.e. what is the eligibility of the aspect on the target when the rule is not satisfied. The default value of this property is None, but it can be changed to anything using ExceptForScenarios<T>(IEligibilityBuilder<T>, EligibleScenarios).

Methods

Name Description
Build()

Builds an immutable rule from the current builder instance.

See Also