CopyHelperGetCopyT Method |
Namespace: AltaxoAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static T GetCopy<T>(
T to,
T from
)
where T : ICloneable
Parameters
- to T
- The value of the variable to copy to.
- from T
- The instance to copy from.
Type Parameters
- T
- The type of the instance to copy.
Return Value
TThe copied instance. It might be the same instance as provided in
to, if the interface
ICopyFrom was used for copying.
If the
ICloneable interface was used for copying, the returned instance is different from
to.
See Also