Skip to content

ConcurrentDictionaryCopier<TKey, TValue> Methods

Copier for System.Collections.Concurrent.ConcurrentDictionary.

DeepCopy(ConcurrentDictionary<TKey, TValue>, CopyContext)

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

Parameters

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

Returns

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