Skip to content

Copier_State Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

DeepCopy(State, CopyContext)

public State DeepCopy(State original, CopyContext context)
Creates a deep copy of the provided input.

Parameters

originalState
The input.
contextCopyContext
The context.

Returns

A copy of input.

DeepCopy(State, State, CopyContext)

public void DeepCopy(State input, State output, CopyContext context)
Clones members from input and copies them to output.

Parameters

inputState
The input.
outputState
The output.
contextCopyContext
The context.