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

ThreadingModel Class

Base class for all threading models. Defines properties that describe the characteristics of threading models. All classes derived from ThreadingModel are necessarily singletons.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingModel
    More...

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.0.24.0 (6.0.24.0)
Syntax
C#
public abstract class ThreadingModel

The ThreadingModel type exposes the following members.

Properties
  NameDescription
Public propertyIsBlocking
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.
Public propertyIsThreadSafe
Determines whether the threading model is possibly thread safe.
Methods
  NameDescription
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
See Also
Inheritance Hierarchy