MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityIEligibility­BuilderIneligible­Scenarios
Open sandboxFocus

IEligibilityBuilder.IneligibleScenarios Property


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).

EligibleScenarios IneligibleScenarios { get; }
Property Value
Type Description