MetalamaAPI documentationAspect APIMetalama.​Framework.​EligibilityEligible­Scenarios
Open sandboxFocus

EligibleScenarios Class

Enumeration of scenarios in which an aspect can be used.

Inheritance
System.Object
EligibleScenarios
Namespace: Metalama.Framework.Eligibility
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class EligibleScenarios : Enum

Fields

Name Description
All

Means that the aspect or option can be used in any scenario.

Aspect
Default

Means that the aspect or option can be applied to the target declaration.

Inheritance

Means that the aspect or option can be applied to declarations that are derived from the target declaration, but not on the target declaration itself.

LiveTemplate

Means that the aspect or option can be used as a live template on the target declaration.

None

Means that the aspect or option can neither be applied to the target declaration, nor to declarations derived from the the target declaration, nor, for aspects, as a live template.

value__

See Also