PostSharp6.5//API Reference/Post­Sharp.​Serialization Namespace/Value­Type­Serializer(T) Class

ValueTypeSerializer<T> Class

Base serializer for all value types.
Inheritance Hierarchy
System.Object
  PostSharp.Serialization.ValueTypeSerializer<T>

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public abstract class ValueTypeSerializer<T> : ISerializer
where T : struct, new()

Type Parameters

T

The ValueTypeSerializer<T> type exposes the following members.

Constructors
  NameDescription
Protected methodValueTypeSerializer<T>
Initializes a new instance of the ValueTypeSerializer<T> class
Methods
  NameDescription
Public methodConvert
Converts a value into a given target type.
Public methodDeserializeObject
Creates an instance of the given type.
Public methodSerializeObject
Serializes an object
See Also