PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / ISerializer­Factory­Provider Interface / ISerializer­Factory­Provider Methods / ISerializer­Factory­Provider.​Get­Serializer­Factory Method

ISerializerFactoryProvider.GetSerializerFactory Method

Gets the instance of ISerializerFactory

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
ISerializerFactory GetSerializerFactory(
	Type objectType


Type: System.Type
Type of object being serialized or deserialized. If a surrogate type has been specified during serialization, this parameter is set to the surrogate type during deserialization.

Return Value

Type: ISerializerFactory
An instance of ISerializerFactory able to serialize or deserialize objectType, or null if there is no known serializer factory for this object.

It is not the responsibility of this class to call the next provider (NextProvider).

See Also