Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Serialization / Value­Type­Serializer<T>

Class ValueTypeSerializer<T>

Inheritance
ValueTypeSerializer<T>
Implements
ISerializer
Namespace: Metalama.Framework.Serialization
Assembly: Metalama.Framework.dll
Syntax
public abstract class ValueTypeSerializer<T> : Object, ISerializer where T : struct, ValueType
Type Parameters
Name Description
T

Constructors

Name Description
ValueTypeSerializer()

Methods

Name Description
Convert(Object, Type)

Converts a value into a given target type.

DeserializeObject(IArgumentsReader)

Creates an instance of the given type.

SerializeObject(T, IArgumentsWriter)

Serializes an object.

Explicit Interface Implementations

Name Description
ISerializer.CreateInstance(Type, IArgumentsReader)
ISerializer.DeserializeFields(ref Object, IArgumentsReader)
ISerializer.IsTwoPhase
ISerializer.SerializeObject(Object, IArgumentsWriter, IArgumentsWriter)