Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Execution­Scope

Class ExecutionScope

Enumerates the possible execution scopes of a declaration i.e. RunTime, CompileTime or RunTimeOrCompileTime.

Inheritance
ExecutionScope
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class ExecutionScope : Enum

Fields

Name Description
CompileTime

Compile-time-only declaration. Typically a type annotated with CompileTimeAttribute.

Default

Equal to RunTime.

RunTime

Run-time-only declaration.

RunTimeOrCompileTime

Run-time-or-compile=time declaration. Typically an aspect or a type annotated with RunTimeOrCompileTimeAttribute.

value__