Skip to content

TupleCopier<T1, T2, T3, T4> Methods

Copier for System.Tuple.

DeepCopy(Tuple<T1, T2, T3, T4>, CopyContext)

View source
public Tuple<T1, T2, T3, T4>? TupleCopier<T1, T2, T3, DeepCopy(Tuple<T1, T2, T3, T4>? input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

inputTuple<T1, T2, T3, T4>
The input.
contextCopyContext
The context.

Returns

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

IsShallowCopyable

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

Returns

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