PostSharp 6.10 / / 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: 6.10.5.0 (6.10.5.0)
Syntax
C#
ISerializerFactory GetSerializerFactory(
	Type objectType
)

Parameters

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.
Remarks

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

See Also