PostSharpAPI ReferencePost­Sharp.​SerializationISerializer­FactoryCreate­Serializer
Open sandboxFocus

ISerializerFactory.CreateSerializer Method

CreateSerializer(Type)

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

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

Type of object being serialized or deserialized.

Returns
Type Description
ISerializer

A new instance implementing the ISerializer interface.