AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

IFreezable Members

The IFreezable type exposes the following members.

Methods


  Name Description
Public method EnforceFreezeOnMutation
Called by property setters before applying a new value. When this instance is frozen, logs the attempted mutation and — depending on the unified FreezeEnforceLevel appsetting — optionally throws InvalidOperationException. Implementations should no-op when IsFrozen is false.
Public method Freeze
Freezes this instance (and any nested freezable members) to prevent further mutation.

Properties


  Name Description
Public property IsFrozen
Gets a value indicating whether this instance is frozen.