Freigeben über


ValueTypeSurrogateCodec<TField,TSurrogate,TConverter> Konstruktor

Definition

Initialisiert eine neue Instanz der ValueTypeSurrogateCodec<TField,TSurrogate,TConverter>-Klasse.

public ValueTypeSurrogateCodec (Orleans.Serialization.Serializers.IValueSerializer<TSurrogate> surrogateSerializer, Orleans.Serialization.Cloning.IDeepCopier<TSurrogate> surrogateCopier, TConverter converter);
new Orleans.Serialization.Serializers.ValueTypeSurrogateCodec<'Field, 'Surrogate, 'Converter (requires 'Field : struct 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.ValueTypeSurrogateCodec<'Field, 'Surrogate, 'Converter (requires 'Field : struct 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)

Parameter

surrogateSerializer
IValueSerializer<TSurrogate>

Das Ersatz-Serialisierungsmodul.

surrogateCopier
IDeepCopier<TSurrogate>

Der Ersatzkopierer.

converter
TConverter

Der Ersatzkonverter.

Gilt für: