DotNetSerializableCodec Class

Definition

Serializer for types which implement the ISerializable pattern.

C#
[Orleans.Alias("ISerializable")]
public class DotNetSerializableCodec : Orleans.Serialization.Serializers.IGeneralizedCodec
Inheritance
DotNetSerializableCodec
Attributes
Implements

Constructors

DotNetSerializableCodec(TypeConverter)

Initializes a new instance of the DotNetSerializableCodec class.

Fields

Methods

IsSupportedType(Type)

Determines whether the specified type is supported by this instance.

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value and returns it untyped. The type must still match the codec instance!

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Writes a field using the provided untyped value. The type must still match the codec instance!

Applies to

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0