Open sandboxFocus

Method GetEligibility

GetEligibility(T)

Determines the eligibility of a given object for the aspect or option.

Declaration
EligibleScenarios GetEligibility(T obj)
Parameters
Type Name Description
T obj

The object (typically a declaration) to evaluate for eligibility.

Returns
Type Description
EligibleScenarios

A combination of EligibleScenarios flags indicating in which scenarios the object is eligible. Returns All if the object is eligible in all scenarios, None if completely ineligible, or a combination of flags for partial eligibility.