ImmutableObjectBaseTCloneReadonly Method

Creates a read-only clone of the object.

Definition

Namespace: SnapDB.Immutables
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public virtual T CloneReadonly()

Return Value

T
A new instance with the same state as the original, marked as read-only.

Implements

IImmutableObjectTCloneReadonly

Remarks

This method is used to create a copy of the object with read-only access. If the object is already read-only, it returns itself.

See Also