PostSharpAPI ReferencePost­Sharp.​Patterns.​Threading.​ModelsActor­Threading­Model
Open sandboxFocus

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
ActorThreadingModel
Namespace: PostSharp.Patterns.Threading.Models
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ActorThreadingModel : ThreadingModel

Properties

Name Description
IsBlocking

Determines whether the current ThreadingModel has blocking semantics, i.e. if the threading model may cause the executing thread to be blocked, for instance when waiting for a lock.

IsThreadSafe

Determines whether the threading model is possibly thread safe.