Class ImmutableObject
Extends DisposableObject with Immutable property and other features. Allows to implement immutable objects with properties that can not be changed.
public class ImmutableObject : DisposableObject, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IImmutableObject, IDisposableObject, IDisposable, IBaseObject
- Inheritance
-
ImmutableObject
- Implements
- Derived
Constructors
- ImmutableObject()
Initializes a new instance of the ImmutableObject class.
Properties
- Immutable
Gets whether object is immutable (properties can not be changed).
Methods
- SetImmutable()
Marks the object as immutable.
- SetImmutable(bool)
Sets value of the Immutable property.