Interface implemented by the FreezableAttribute aspect. Defines a Freeze() method.
Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading.dll
Syntax
public interface IFreezable : IThreadAwareRemarks
To determine whether the object has been frozen, use the IsReadOnly property of the ConcurrencyController of this object.
The interface is introduced into the target class after compilation. Cast the object to IFreezable, or use the Cast<TSource, TTarget>(TSource) method, to access it.
Methods
| Name | Description |
|---|---|
| Freeze() | Prevents the current object from being modified. |