Class ThreadAwareAttribute
Base class for all aspects implementing threading models.
Inheritance
Implements
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[ProvideAspectRole("ThreadingModel")]
[ProvideAspectRole("Threading")]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[MulticastAttributeUsage]
[IntroduceInterface]
[IntroduceInterface]
[HasConstraint]
[Serializer]
public abstract class ThreadAwareAttribute : AggregatableClientAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IThreadAware, IQueryInterface
Constructors
Name | Description |
---|---|
ThreadAwareAttribute(PortableFormatterConstructorContext) |
Fields
Properties
Name | Description |
---|---|
RuntimeVerificationEnabled | Determines whether the code should be verified against the model at runtime.
The default value is |
Methods
Explicit Interface Implementations
Name | Description |
---|---|
IThreadAware.ConcurrencyController | |
IThreadAware.OnParentControllerChanged(IConcurrencyController) |