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)
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: ISerializerFactoryAn 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).