ImmutableObjectBaseTClone Method

Creates a clone of the object, either as a read-only instance or an editable one.

Definition

Namespace: SnapDB.Immutables
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public Object Clone()

Return Value

Object
If the object is read-only, it returns itself. If the object is editable, it returns a new instance with the same state as the original.

Implements

ICloneableClone

Remarks

This method is used to create a copy of the object, allowing either read-only or editable access depending on the object's current state.

See Also