Skip to content

HashSetCopier<T> Methods

Copier for System.Collections.Generic.HashSet.

DeepCopy(HashSet<T>, CopyContext)

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

Parameters

inputHashSet<T>
The input.
contextCopyContext
The context.

Returns

A copy of input.

DeepCopy(HashSet<T>, HashSet<T>, CopyContext)

View source
public void DeepCopy(HashSet<T> input, HashSet<T> output, CopyContext context)
Clones members from input and copies them to output.

Parameters

inputHashSet<T>
The input.
outputHashSet<T>
The output.
contextCopyContext
The context.