編輯

共用方式為


RepeatedFieldCopier<T>.DeepCopy Method

Definition

Overloads

DeepCopy(RepeatedField<T>, CopyContext)

Creates a deep copy of the provided input.

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

Clones members from input and copies them to output.

DeepCopy(RepeatedField<T>, CopyContext)

Source:
RepeatedFieldCopier.cs
Source:
RepeatedFieldCopier.cs

Creates a deep copy of the provided input.

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

Parameters

input
Google.Protobuf.Collections.RepeatedField<T>

The input.

context
CopyContext

The context.

Returns

Google.Protobuf.Collections.RepeatedField<T>

A copy of input.

Implements

Applies to

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

Source:
RepeatedFieldCopier.cs
Source:
RepeatedFieldCopier.cs

Clones members from input and copies them to output.

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

Parameters

input
Google.Protobuf.Collections.RepeatedField<T>

The input.

output
Google.Protobuf.Collections.RepeatedField<T>

The output.

context
CopyContext

The context.

Implements

Applies to