共用方式為


TestingUtils.RoundTripDotNetSerializer<T> 方法

定義

序列化和還原序列化輸入

public static T RoundTripDotNetSerializer<T> (T input, Orleans.IGrainFactory grainFactory, Orleans.Serialization.SerializationManager serializationManager);
static member RoundTripDotNetSerializer : 'T * Orleans.IGrainFactory * Orleans.Serialization.SerializationManager -> 'T
Public Function RoundTripDotNetSerializer(Of T) (input As T, grainFactory As IGrainFactory, serializationManager As SerializationManager) As T
Public Shared Function RoundTripDotNetSerializer(Of T) (input As T, grainFactory As IGrainFactory, serializationManager As SerializationManager) As T

類型參數

T

輸入的類型

參數

input
T

要序列化和還原序列化的輸入

grainFactory
IGrainFactory

粒紋處理站。

serializationManager
SerializationManager

序列化管理員。

傳回

T

已序列化,然後還原序列化的輸入

適用於