PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Threading Namespace/IFreezable Interface

IFreezable Interface

Interface implemented by the FreezableAttribute aspect. Defines a Freeze() method.

Namespace:  PostSharp.Patterns.Threading
Assembly:  PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 6.3.8.0 (6.3.8.0)
Syntax
C#
public interface IFreezable : IThreadAware

The IFreezable type exposes the following members.

Properties
  NameDescription
Public propertyConcurrencyController (Inherited from IThreadAware.)
Methods
  NameDescription
Public methodFreeze
Prevents the current object to be modified.
Public methodOnParentControllerChanged (Inherited from IThreadAware.)
Extension Methods
Remarks

To determine whether the object has been frozen, use the IsReadOnly property of the ConcurrencyController of this object.

See Also