IImmutableObject Interface
Represents an object that can be configured as "read only" and thus made immutable.
Namespace: SnapDB.ImmutablesAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public interface IImmutableObject : ICloneable
Public Interface IImmutableObject
Inherits ICloneable
public interface class IImmutableObject : ICloneable
SnapDB.Immutables.IImmutableObject = function();
SnapDB.Immutables.IImmutableObject.createInterface('SnapDB.Immutables.IImmutableObject');
- Implements
- ICloneable
| 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.
|
| Clone | Creates 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".
|