Open sandboxFocus

Enum IntroductionScope

Scope of introduction advice.

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public enum IntroductionScope

Fields

Name Description
Default

If the advice template is static, the behavior is the same as Static, otherwise behavior is the same as Target.

Instance

Introduced member will be always of instance scope.

Static

Introduced member will be always of static scope.

Target

Introduced member will be always of the same scope as the target declaration.