SerializerFactoryProvider.GetSerializerFactory Method |
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public virtual 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.
Implements
ISerializerFactoryProvider.GetSerializerFactory(Type)It is not the responsibility of this class to call the next provider (NextProvider).