PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Value­Type­Serializer(T) Class / Value­Type­Serializer(T) Methods / Value­Type­Serializer(T).​Deserialize­Object Method

ValueTypeSerializer<T>.DeserializeObject Method

Creates an instance of the given type.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public abstract T DeserializeObject(
	IArgumentsReader constructorArguments
)

Parameters

constructorArguments
Type: PostSharp.Serialization.IArgumentsReader
Gives access to arguments required to create the instance.

Return Value

Type: T
An instance of type T initialized using constructorArguments.
See Also