PostSharp//API Reference/Post­Sharp.​Patterns.​Threading.​Models/Immutable­Threading­Model
Open sandboxFocus

Class ImmutableThreadingModel

The ImmutableThreadingModel class describes a threading model where changes to an object are forbidden after completion of the object constructor. To use the ImmutableThreadingModel, apply the ImmutableAttribute custom attribute to a class.

Inheritance
ImmutableThreadingModel
Namespace: PostSharp.Patterns.Threading.Models
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public sealed class ImmutableThreadingModel : ReadOnlyThreadingModel