Click or drag to resize

CopyHelperCopyImmutableT Method

Copies an instance of an immutable class. This can be done simply by assigning from to to.

Namespace: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void CopyImmutable<T>(
	ref T to,
	T from
)
where T : IImmutable

Parameters

to  T
The variable to copy to.
from  T
The instance that was copied.

Type Parameters

T
The type of the instance to copy.
See Also