ConcurrentDictionaryCopier<TKey,TValue>.DeepCopy 方法

定义

重载

DeepCopy(ConcurrentDictionary<TKey,TValue>, CopyContext)

创建所提供输入的深层副本。

DeepCopy(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionary<TKey,TValue>, CopyContext)

input 克隆成员并将其复制到 output

DeepCopy(ConcurrentDictionary<TKey,TValue>, CopyContext)

创建所提供输入的深层副本。

public System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> DeepCopy (System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> input, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value>
override this.DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value>
Public Function DeepCopy (input As ConcurrentDictionary(Of TKey, TValue), context As CopyContext) As ConcurrentDictionary(Of TKey, TValue)

参数

input
ConcurrentDictionary<TKey,TValue>

输入。

context
CopyContext

上下文。

返回

ConcurrentDictionary<TKey,TValue>

input 的副本。

实现

适用于

DeepCopy(ConcurrentDictionary<TKey,TValue>, ConcurrentDictionary<TKey,TValue>, CopyContext)

input 克隆成员并将其复制到 output

public void DeepCopy (System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> input, System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> output, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> unit
override this.DeepCopy : System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * System.Collections.Concurrent.ConcurrentDictionary<'Key, 'Value> * Orleans.Serialization.Cloning.CopyContext -> unit
Public Sub DeepCopy (input As ConcurrentDictionary(Of TKey, TValue), output As ConcurrentDictionary(Of TKey, TValue), context As CopyContext)

参数

input
ConcurrentDictionary<TKey,TValue>

输入。

output
ConcurrentDictionary<TKey,TValue>

输出。

context
CopyContext

上下文。

实现

适用于