Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading.​Models Namespace / Actor­Threading­Model Class

ActorThreadingModel Class

The ActorThreadingModel class describes a threading model in which to methods are processed asynchronously from a single thread, suppressing concurrency inside each instance of the actor. To use the ActorThreadingModel, apply the ActorAttribute to a class.

Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingModel
    PostSharp.Patterns.Threading.Models.ActorThreadingModel

Namespace:  PostSharp.Patterns.Threading.Models
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 5.0.43.0 (5.0.43.0)
Syntax
C#
public sealed class ActorThreadingModel : ThreadingModel

The ActorThreadingModel type exposes the following members.

Properties
  NameDescription
Public propertyIsThreadSafe
Determines whether the threading model is possibly thread safe.
(Overrides ThreadingModel.IsThreadSafe.)
Methods
  NameDescription
Public methodToString
Returns a string that represents the current object.
(Inherited from ThreadingModel.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also