MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesState­Attribute
Open sandboxFocus

StateAttribute Class

In Metalama, use a local variable in the template.

Inheritance
System.Object
StateAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class StateAttribute : AdviceParameterAttribute

Constructors

Name Description
StateAttribute(StateScope)
StateAttribute(StateScope, String)

Properties

Name Description
Scope
SlotName