PostSharpAPI ReferencePost­Sharp.​SerializationISerializer­Discoverer
Open sandboxFocus

Interface ISerializerDiscoverer

Exposes a method DiscoverSerializers(Type) that allows implementations of the ISerializerFactoryProvider interface to discover serializer types for each type being serialized.

Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public interface ISerializerDiscoverer

Methods

Name Description
DiscoverSerializers(Type)

Invoked by PortableFormatter once for every type that needs to be serialized, before GetSurrogateType(Type) is invoked.