SnapDB.Immutables Namespace

The SnapDB.Immutables namespace organizes all common SnapDB library functionality related to immutable objects, e.g., the IImmutableObject class.

Classes

ImmutableListT A list that can be modified until IsReadOnly is set to true. Once this occurs, the list itself can no longer be modified. Remember, this does not cause objects contained in this class to be Immutable unless they implement IImmutableObject.
ImmutableObjectAutoBaseT Represents an object that can be configured as read only and thus made immutable. This class will automatically clone any field that implements IImmutableObject
ImmutableObjectBaseT Represents an object that can be configured as read only and thus made immutable. The original contents of this class will not be editable once IsReadOnly is set to true. In order to modify the contest of this object, a clone of the object must be created with CloneEditable.

Interfaces

IImmutableObject Represents an object that can be configured as "read only" and thus made immutable.
IImmutableObjectT Represents an object that can be configured as read only and thus made immutable. The original contents of this class will not be editable once IsReadOnly is set to true. In order to modify the contest of this object, a clone of the object must be created with CloneEditable.