AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

IFreezable Methods

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.