Skip to content

ReadOnlyCollectionCopier<T> Methods

Copier for System.Collections.ObjectModel.ReadOnlyCollection.

DeepCopy(ReadOnlyCollection<T>, CopyContext)

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

Parameters

inputReadOnlyCollection<T>
The input.
contextCopyContext
The context.

Returns

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