共用方式為


KeyValuePairCopier<TKey,TValue> 類別

定義

KeyValuePair<TKey,TValue> 複製器。

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

類型參數

TKey

索引鍵類型。

TValue

值型別。

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

建構函式

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

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

方法

DeepCopy(KeyValuePair<TKey,TValue>, CopyContext)

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

IsShallowCopyable()

KeyValuePair<TKey,TValue> 複製器。

明確介面實作

IDeepCopier.DeepCopy(Object, CopyContext)

KeyValuePair<TKey,TValue> 複製器。

適用於