Click or drag to resize

ISerializationConverterTSource, TTarget Interface

Provides the base interface for converting an object to a stream and vice-versa.

Namespace: RAYLASE.Marker.Common.Serialization
Assembly: RAYLASE.Marker.Common (in RAYLASE.Marker.Common.dll) Version: 2.19.0
Syntax
C#
public interface ISerializationConverter<in TSource, out TTarget>

Type Parameters

TSource
The type of the source object.
TTarget
The type of the target object.

The ISerializationConverterTSource, TTarget type exposes the following members.

Properties
 NameDescription
Public propertySerializationLabel Short description of the serialized item.
Public propertySerializationType Type of the serialization. This could be used as the identifier of the concrete implementation.
Public propertySerializationVersion Version of the serialization. This could be used as the identifier of the concrete implementation.
Top
Methods
 NameDescription
Public methodDeserialize Deserializes from a given stream into an object.
Public methodReadSerializationVersion Reads the version from the source. The version can be used to determine a match with a suitable converter.
Public methodSerialize Serializes a given object into a stream.
Top
See Also