In Metalama, use a local variable in the template.
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use a local variable in the template.", false)]
public sealed class StateAttribute : AdviceParameterAttributeConstructors
| Name | Description |
|---|---|
| StateAttribute(StateScope) | |
| StateAttribute(StateScope, string) |
Properties
| Name | Description |
|---|---|
| Scope | |
| SlotName |