Open sandboxFocus

Enum StateScope

Specifies the lifetime of a variable bound by StateAttribute.

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public enum StateScope

Fields

Name Description
MethodInvocation

The variable lives for one invocation of the target method. Each invocation has its own variable.