Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/Introduction­Scope
Open sandboxFocus

Class IntroductionScope

Scope of introduction advice.

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

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.

value__