SurrogateCodec<TField, TSurrogate, TConverter>
class
Namespace: Orleans.Serialization.Serializers
Surrogate serializer for
TField. public sealed class SurrogateCodec<TField, TSurrogate, TConverter> : IBaseCopier, IBaseCopier<TField>, IDeepCopier, IDeepCopier<TField>, IFieldCodec, IFieldCodec<TField>, IBaseCodec, IBaseCodec<TField> where TField : class where TSurrogate : struct where TConverter : Orleans.IConverter<TField, TSurrogate>Constructors
SurrogateCodec<TField, TSurrogate, TConverter>(IValueSerializer<TSurrogate>, IDeepCopier<TSurrogate>, TConverter)Initializes a new instance of theOrleans.Serialization.Serializers.SurrogateCodecclass.
Methods
DeepCopy(TField, CopyContext)Creates a deep copy of the provided input.DeepCopy(TField, TField, CopyContext)Clones members frominputand copies them tooutput.Deserialize(Reader<TInput>, TField)Deserializes into the provided value.ReadValue(Reader<TInput>, Field)Reads a value.Serialize(Writer<TBufferWriter>, TField)Serializes the provided value.WriteField(Writer<TBufferWriter>, uint, Type, TField)Writes a field.
