Click or drag to resize

IImmutableObject Interface

Represents an object that can be configured as read only and thus made immutable.

Namespace: GSF.Immutable
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public interface IImmutableObject : ICloneable
View Source

The IImmutableObject type exposes the following members.

Properties
 NameDescription
Public propertyIsReadOnly Get/Sets if a class is readonly. Once it has been set as readonly, it is immutable and must be cloned to me modified.
Top
Methods
 NameDescription
Public methodCloneCreates a new object that is a copy of the current instance.
(Inherited from ICloneable)
Public methodCloneEditable Makes a clone of this object and allows it to be edited.
Public methodCloneReadonly Makes a readonly clone of this object. Returns the same object if it is already marked as readonly.
Top
See Also