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

PrivateThreadingModel Class

The PrivateThreadingModel class describes a behavior of objects in which their threading model is determined by the parent they are assigned to in a parent-child relationship. Objects with this threading model are considered a private state of their parent object and cannot be accessed from a different object.

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