IImmutableObject Interface

Represents an object that can be configured as "read only" and thus made immutable.

Definition

Namespace: SnapDB.Immutables
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public interface IImmutableObject : ICloneable
Implements
ICloneable

Properties

IsReadOnly Gets or sets if a class is "read only". Once it has been set as "read only", it is immutable and must be cloned to be modified.

Methods

CloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
CloneEditable Makes a clone of this object and allows it to be edited.
CloneReadonly Makes a "read only" clone of this object. Returns the same object if it is already marked as "read only".

See Also