Edit

Share via


StackCopier<T>.DeepCopy Method

Definition

Overloads

DeepCopy(Stack<T>, CopyContext)

Creates a deep copy of the provided input.

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

Clones members from input and copies them to output.

DeepCopy(Stack<T>, CopyContext)

Creates a deep copy of the provided input.

public System.Collections.Generic.Stack<T> DeepCopy (System.Collections.Generic.Stack<T> input, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Generic.Stack<'T>
override this.DeepCopy : System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Generic.Stack<'T>
Public Function DeepCopy (input As Stack(Of T), context As CopyContext) As Stack(Of T)

Parameters

input
Stack<T>

The input.

context
CopyContext

The context.

Returns

Stack<T>

A copy of input.

Implements

Applies to

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

Clones members from input and copies them to output.

public void DeepCopy (System.Collections.Generic.Stack<T> input, System.Collections.Generic.Stack<T> output, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Generic.Stack<'T> * System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
override this.DeepCopy : System.Collections.Generic.Stack<'T> * System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
Public Sub DeepCopy (input As Stack(Of T), output As Stack(Of T), context As CopyContext)

Parameters

input
Stack<T>

The input.

output
Stack<T>

The output.

context
CopyContext

The context.

Implements

Applies to