Class EligibleScenarios
Enumeration of scenarios in which an aspect can be used.
Namespace: Metalama.Framework.Eligibility
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class EligibleScenarios : Enum
Fields
Name | Description |
---|---|
All | Means that the aspect can be used in any scenario. |
Aspect | Means that the aspect can be applied to the target declaration. |
Inheritance | Means that the aspect can be applied to declarations that are derived from the target declaration, but not on the target declaration itself. |
LiveTemplate | Means that the aspect can be used as a live template on the target declaration. |
None | Means that the aspect can neither be applied to the target declaration, nor to declarations derived from the the target declaration, nor as a live template. |
value__ |