共用方式為


DictionaryCopier<TKey,TValue> 類別

定義

Dictionary<TKey,TValue> 複製器。

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

類型參數

TKey

t 鍵的類型。

TValue

t 值的型別。

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

建構函式

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

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

方法

DeepCopy(Dictionary<TKey,TValue>, CopyContext)

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

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

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

適用於