PostSharp 6.10 / / Post­Sharp Documentation / 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: 6.10.14.0 (6.10.14.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