Click or drag to resize

GSF.Immutable Namespace

 
Classes
  Class Description
Public class ImmutableArrayT A array that can be modified until IsReadOnly is set to true. Once this occurs, the array itself can no longer be modified. Remember, this does not cause objects contained in this class to be Immutable unless they implement IImmutableObject.
Public class ImmutableDictionaryTKey, TValue A dictionary that can be modified until IsReadOnly is set to true. Once this occurs, the dictionary itself can no longer be modified. Remember, this does not cause objects contained in this class to be Immutable unless they implement IImmutableObject.
Public class 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.
Public class 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
Public class ImmutableObjectBaseT Represents an object that can be configured as read only and thus made immutable. The origional 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
  Interface Description
Public interface IImmutableObject Represents an object that can be configured as read only and thus made immutable.
Public interface IImmutableObjectT Represents an object that can be configured as read only and thus made immutable. The origional 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.