Open sandboxFocus

Enum EligibleScenarios

Enumeration of scenarios in which an aspect can be used.

Namespace: Metalama.Framework.Eligibility
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
[Flags]
public enum EligibleScenarios

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.

See Also