PostSharp5.0//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: 5.0.55.0 (5.0.55.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
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also