Compartir a través de


SurrogateCodec<TField,TSurrogate,TConverter> Constructor

Definición

Inicializa una nueva instancia de la clase SurrogateCodec<TField,TSurrogate,TConverter>.

public SurrogateCodec (Orleans.Serialization.Serializers.IValueSerializer<TSurrogate> surrogateSerializer, Orleans.Serialization.Cloning.IDeepCopier<TSurrogate> surrogateCopier, TConverter converter);
new Orleans.Serialization.Serializers.SurrogateCodec<'Field, 'Surrogate, 'Converter (requires 'Field : null and 'Surrogate : struct and 'Converter :> Orleans.IConverter<'Field, 'Surrogate>)> : Orleans.Serialization.Serializers.IValueSerializer<'Surrogate (requires 'Surrogate : struct)> * Orleans.Serialization.Cloning.IDeepCopier<'Surrogate (requires 'Surrogate : struct)> * 'Converter -> Orleans.Serialization.Serializers.SurrogateCodec<'Field, 'Surrogate, 'Converter (requires 'Field : null and 'Surrogate : struct and 'Converter :> Orleans.IConverter<'Field, 'Surrogate>)>
Public Sub New (surrogateSerializer As IValueSerializer(Of TSurrogate), surrogateCopier As IDeepCopier(Of TSurrogate), converter As TConverter)

Parámetros

surrogateSerializer
IValueSerializer<TSurrogate>

Serializador suplente.

surrogateCopier
IDeepCopier<TSurrogate>

Copiador suplente.

converter
TConverter

Convertidor suplente.

Se aplica a