PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Type­Adapters Namespace / Type­Adapter Class / Type­Adapter Properties / Type­Adapter.​Is­Thread­Safe Property

TypeAdapter.IsThreadSafe Property

Determines whether instances of this type can be safely shared by several threads.

Namespace:  PostSharp.Patterns.Model.TypeAdapters
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 2023.0.3.0 (2023.0.3.0)
public virtual bool IsThreadSafe { get; }

Property Value

Type: Boolean

If the type is thread-safe but can have non-immutable instances of a derived type, the IsThreadSafe property shall be true but the IsAnyInstanceThreadSafe property shall be true.

See Also