IImmutable
|
public interface IImmutableObject : ICloneable
The IImmutableObject type exposes the following members.
Name | Description | |
---|---|---|
IsReadOnly | Get/Sets if a class is readonly. Once it has been set as readonly, it is immutable and must be cloned to me modified. |
Name | Description | |
---|---|---|
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 readonly clone of this object. Returns the same object if it is already marked as readonly. |