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

FreezableThreadingModel Class

The FreezableThreadingModel class describes a threading model where changes to an object are forbidden after the Freeze() method has been called on this object. To use the FreezableThreadingModel, apply the FreezableAttribute custom attribute to a class.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingModel
    PostSharp.Patterns.Threading.Models.ReadOnlyThreadingModel
      PostSharp.Patterns.Threading.Models.FreezableThreadingModel

Namespace:  PostSharp.Patterns.Threading.Models
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.1.5.0 (6.1.5.0)
Syntax
C#
public sealed class FreezableThreadingModel : ReadOnlyThreadingModel

The FreezableThreadingModel 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.
(Inherited from ReadOnlyThreadingModel.)
Public propertyIsThreadSafe
Determines whether the threading model is possibly thread safe.
(Inherited from ReadOnlyThreadingModel.)
Methods
  NameDescription
Public methodToString
Returns a string that represents the current object.
(Inherited from ThreadingModel.)
See Also