Skip to content

ListCopier<T> Methods

Copier for System.Collections.Generic.List.

DeepCopy(List<T>, CopyContext)

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

Parameters

inputList<T>
The input.
contextCopyContext
The context.

Returns

A copy of input.

DeepCopy(List<T>, List<T>, CopyContext)

View source
public void DeepCopy(List<T> input, List<T> output, CopyContext context)
Clones members from input and copies them to output.

Parameters

inputList<T>
The input.
outputList<T>
The output.
contextCopyContext
The context.