Skip to content

ValueTupleCopier<T1, T2> Methods

Copier for System.ValueTuple

DeepCopy((T1, T2), CopyContext)

View source
public (T1, T2) ValueTupleCopier<T1, T2>.DeepCopy((T1, T2) input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

input(T1, T2)
The input.
contextCopyContext
The context.

Returns

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

IsShallowCopyable

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

Returns

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