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

TypeAdapter.IsImmutable Property

IsImmutable

Determines whether the adapted type is immutable.

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

If the type is immutable but can have non-immutable instances of a derived type, the IsImmutable property shall be true but the IsAnyInstanceImmutable property shall be true.