Class ActorAttribute
Custom attribute that, when applied to a class, implements the ActorThreadingModel to this class,
in which calls to methods are processed asynchronously from a single thread, suppressing concurrency inside each instance of the target class.
Inheritance
ActorAttribute
Assembly: PostSharp.Patterns.Threading.dll
Syntax
[ProvideAspectRole("ThreadingModel")]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[AspectRoleDependency]
[Metric("UsedFeatures", "PostSharp.Patterns.Threading.Actor")]
[IntroduceInterface]
[HasConstraint]
[Serializer]
public sealed class ActorAttribute : ThreadAwareAttribute, ITypeLevelAspect, ITypeLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ICloneAwareAspect, IInstanceScopedAspect, IAspectProvider, IService, IAdviceProvider, IAspect, IQueryInterface, IActor, IDispatcherObject, IThreadAware
Constructors
Methods
Explicit Interface Implementations