Partager via


SurrogateCodec<TField,TSurrogate,TConverter> Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

surrogateSerializer
IValueSerializer<TSurrogate>

Sérialiseur de substitution.

surrogateCopier
IDeepCopier<TSurrogate>

Copieur de substitution.

converter
TConverter

Convertisseur de substitution.

S’applique à