ValueTypeSerializer<T> Class |
Base serializer for all value types.
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract class ValueTypeSerializer<T> : ISerializer where T : struct, new()
Type Parameters
- T
The ValueTypeSerializer<T> type exposes the following members.
Name | Description | |
---|---|---|
ValueTypeSerializer<T> | Initializes a new instance of the ValueTypeSerializer<T> class |
Name | Description | |
---|---|---|
Convert |
Converts a value into a given target type.
| |
DeserializeObject |
Creates an instance of the given type.
| |
SerializeObject |
Serializes an object
|