共用方式為


ConcurrentDictionaryCopier<TKey,TValue> 類別

定義

[Orleans.RegisterCopier]
public sealed class ConcurrentDictionaryCopier<TKey,TValue> : Orleans.Serialization.Cloning.IBaseCopier<System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>>, Orleans.Serialization.Cloning.IDeepCopier<System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>>
[<Orleans.RegisterCopier>]
type ConcurrentDictionaryCopier<'Key, 'Value> = class
    interface IDeepCopier<ConcurrentDictionary<'Key, 'Value>>
    interface IDeepCopier
    interface IBaseCopier<ConcurrentDictionary<'Key, 'Value>>
    interface IBaseCopier
Public NotInheritable Class ConcurrentDictionaryCopier(Of TKey, TValue)
Implements IBaseCopier(Of ConcurrentDictionary(Of TKey, TValue)), IDeepCopier(Of ConcurrentDictionary(Of TKey, TValue))

類型參數

TKey

t 鍵的類型。

TValue

t 值的型別。

繼承
ConcurrentDictionaryCopier<TKey,TValue>
屬性
實作

建構函式

ConcurrentDictionaryCopier<TKey,TValue>(IDeepCopier<TKey>, IDeepCopier<TValue>)

初始化 ConcurrentDictionaryCopier<TKey,TValue> 類別的新執行個體。

方法

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

從 複製成員 input ,並將其複製到 output

DeepCopy(ConcurrentDictionary<TKey,TValue>, CopyContext)

建立所提供輸入的深層複本。

適用於