Skip to content

DictionaryCopier<TKey, TValue>.DeepCopy(Dictionary<TKey, TValue>, CopyContext)

DeepCopy(Dictionary<TKey, TValue>, CopyContext)

View source
public Dictionary<TKey, TValue>? DictionaryCopier<TKey, DeepCopy(Dictionary<TKey, TValue>? input, CopyContext context)
Creates a deep copy of the provided input.

Parameters

inputDictionary<TKey, TValue>
The input.
contextCopyContext
The context.

Returns

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