Open sandboxFocus

Method CreateSerializer

CreateSerializer(Type)

Creates an instance of the ISerializer interface for a given object type.

Declaration
ISerializer CreateSerializer(Type objectType)
Parameters
Type Name Description
Type objectType

Type of object being serialized or deserialized.

Returns
Type Description
ISerializer

A new instance implementing the ISerializer interface.