Skip to content

ImmutableStackCopier<T>.DeepCopy(ImmutableStack<T>, CopyContext)

DeepCopy(ImmutableStack<T>, CopyContext)

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

Parameters

inputImmutableStack<T>
The input.
contextCopyContext
The context.

Returns

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