MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityIEligibility­Rule<T>Get­Ineligibility­Justification
Open sandboxFocus

IEligibilityRule<T>.GetIneligibilityJustification Method

GetIneligibilityJustification(EligibleScenarios, IDescribedObject<T>)

Gets the justification for which the GetEligibility(T) method returned anything else than All.

Declaration
FormattableString GetIneligibilityJustification(EligibleScenarios requestedEligibility, IDescribedObject<T> describedObject)
Parameters
Type Name Description
EligibleScenarios requestedEligibility

The eligibility that was requested by the user, but denied.

IDescribedObject<T> describedObject

The object for which the eligibility was denied, plus its description.

Returns
Type Description
System.FormattableString