Compartilhar via


TestingUtils.RoundTripDotNetSerializer<T> Método

Definição

Serializar e desserializar a entrada

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

Parâmetros de tipo

T

O tipo da entrada

Parâmetros

input
T

A entrada para serializar e desserializar

grainFactory
IGrainFactory

A fábrica de grãos.

serializationManager
SerializationManager

O gerenciador de serialização.

Retornos

T

Entrada que foi serializada e, em seguida, desserializada

Aplica-se a