This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

ReaderWriterSynchronizedThreadingModel Class

The ReaderWriterSynchronizedThreadingModel class describes a threading model where several threads can have concurrent read-only access, but where writing to the object requires exclusive access. To use the ReaderWriterSynchronizedThreadingModel, apply the ReaderWriterSynchronizedAttribute custom attribute to a class.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingModel
    PostSharp.Patterns.Threading.Models.ReaderWriterSynchronizedThreadingModel

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

The ReaderWriterSynchronizedThreadingModel type exposes the following members.

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