Skip to content

CollectionCopier<T> Methods

Copier for System.Collections.ObjectModel.Collection.

DeepCopy(Collection<T>, CopyContext)

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

Parameters

inputCollection<T>
The input.
contextCopyContext
The context.

Returns

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