PostSharpAPI ReferencePost­Sharp.​SerializationISerializer­Factory­ProviderGet­Serializer­Factory
Open sandboxFocus

ISerializerFactoryProvider.GetSerializerFactory Method

GetSerializerFactory(Type)

Gets the instance of ISerializerFactory

Declaration
ISerializerFactory GetSerializerFactory(Type objectType)
Parameters
Type Name Description
System.Type objectType

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.

Returns
Type Description
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).