Skip to content

ExceptionCopier<T, B> Methods

Default copier implementation for exception types.

DeepCopy(T?, CopyContext)

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

Parameters

originalT?
The input.
contextCopyContext
The context.

Returns

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

DeepCopy(T, T, CopyContext)

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

Parameters

inputT
The input.
outputT
The output.
contextCopyContext
The context.