PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​Type­AdaptersType­AdapterIs­Thread­Safe
Open sandboxFocus

TypeAdapter.IsThreadSafe Property

IsThreadSafe

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

Declaration
public virtual bool IsThreadSafe { get; }
Property Value
Type Description
Boolean
Remarks

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.