DotNetSerializableCodec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializer for types which implement the ISerializable pattern.
[Orleans.Alias("ISerializable")]
public class DotNetSerializableCodec : Orleans.Serialization.Serializers.IGeneralizedCodec
[<Orleans.Alias("ISerializable")>]
type DotNetSerializableCodec = class
interface IGeneralizedCodec
interface IFieldCodec
Public Class DotNetSerializableCodec
Implements IGeneralizedCodec
- Inheritance
-
DotNetSerializableCodec
- Attributes
- Implements
Constructors
DotNetSerializableCodec(TypeConverter) |
Initializes a new instance of the DotNetSerializableCodec class. |
Fields
CodecType |
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! |