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

IEligibilityRule<T> Interface

Encapsulates a predicate determining the eligibility of an object (typically a declaration or a type).

Namespace: Metalama.Framework.Eligibility
Assembly: Metalama.Framework.dll
public interface IEligibilityRule<in T>
    where T : class
Type Parameters
Name Description

The type of object that the extension can be applied to.


Name Description

Determines the eligibility of a given object for the current object extension.

GetIneligibilityJustification(EligibleScenarios, IDescribedObject<T>)

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

See Also