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

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 Hierarchy
System.Object
  PostSharp.Patterns.Threading.ThreadingModel
    PostSharp.Patterns.Threading.Models.PrivateThreadingModel

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

The PrivateThreadingModel type exposes the following members.

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