Skip to content

ImmutableSortedDictionaryCopier<TKey, TValue> Methods

Copier for System.Collections.Immutable.ImmutableSortedDictionary.

DeepCopy(ImmutableSortedDictionary<TKey, TValue>, CopyContext)

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

Parameters

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

Returns

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

IsShallowCopyable

View source
public bool ImmutableSortedDictionaryCopier<TKey, IsShallowCopyable()
Returns true if the type is shallow-copyable.

Returns

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