November Happy Hour will be moved to Thursday December 5th.

Interface IReadOnly<T>

Defines read-only handling for objects

Namespace: EPiServer.Data.Entity
Assembly: EPiServer.Data.dll
Version: 9.12.2
Syntax
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.

Extension Methods