Interface IReadOnly<T>
Defines read-only handling for objects
Namespace: EPiServer.Data.Entity
Assembly: EPiServer.Data.dll
Version: 12.0.3Syntax
public interface IReadOnly<out T> : IReadOnly
Type Parameters
Name | Description |
---|---|
T |
Remarks
Primarily intended to change read-write objects into immutable (read-only) objects to be able to use the same object instance by several different threads etc.
Methods
CreateWritableClone()
Creates a writable copy of the current object.
Declaration
T CreateWritableClone()
Returns
Type | Description |
---|---|
T | A writable copy of the current object. |
Remarks
The cloning is a deep-copy.