Edit

Share via


SurrogateCodec<TField,TSurrogate,TConverter> Class

Definition

Surrogate serializer for TField.

public sealed class SurrogateCodec<TField,TSurrogate,TConverter> : Orleans.Serialization.Cloning.IBaseCopier<TField>, Orleans.Serialization.Cloning.IDeepCopier<TField>, Orleans.Serialization.Codecs.IFieldCodec<TField>, Orleans.Serialization.Serializers.IBaseCodec<TField> where TField : class where TSurrogate : struct where TConverter : IConverter<TField,TSurrogate>
type SurrogateCodec<'Field, 'Surrogate, 'Converter (requires 'Field : null and 'Surrogate : struct and 'Converter :> IConverter<'Field, 'Surrogate>)> = class
    interface IFieldCodec<'Field (requires 'Field : null)>
    interface IFieldCodec
    interface IDeepCopier<'Field (requires 'Field : null)>
    interface IDeepCopier
    interface IBaseCodec<'Field (requires 'Field : null)>
    interface IBaseCodec
    interface IBaseCopier<'Field (requires 'Field : null)>
    interface IBaseCopier
Public NotInheritable Class SurrogateCodec(Of TField, TSurrogate, TConverter)
Implements IBaseCodec(Of TField), IBaseCopier(Of TField), IDeepCopier(Of TField), IFieldCodec(Of TField)

Type Parameters

TField

The type which the implementation of this class supports.

TSurrogate

The surrogate type serialized in place of TField.

TConverter

The converter type which converts between TField and TSurrogate.

Inheritance
SurrogateCodec<TField,TSurrogate,TConverter>
Implements

Applies to