Skip to content

ValueTupleCopier Methods

Copier for System.ValueTuple.

DeepCopy(ValueTuple, CopyContext)

View source
public ValueTuple DeepCopy(ValueTuple input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

inputValueTuple
The input.
contextCopyContext
The context.

Returns

A copy of input, or null if input is null.

IsShallowCopyable

View source
public bool IsShallowCopyable()
Returns true if the type is shallow-copyable.

Returns

true if the type is shallow-copyable; otherwise, false.