Skip to content

Immutable<T> Constructors

Wrapper class for carrying immutable data.

Immutable<T>(T)

View source
public Immutable(T value)
Constructor to wrap the specified data object in new Immutable wrapper.

Parameters

valueT
Value to be wrapped and marked as immutable.