PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/ISerializer­Factory Interface/ISerializer­Factory Methods/ISerializer­Factory.​Create­Serializer Method

ISerializerFactory.CreateSerializer Method

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

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
ISerializer CreateSerializer(
	Type objectType
)

Parameters

objectType
Type: System.Type
Type of object being serialized or deserialized.

Return Value

Type: ISerializer
A new instance implementing the ISerializer interface.
See Also