PostSharpAPI ReferencePost­Sharp.​SerializationISerializer­Discoverer
Open sandboxFocus

ISerializerDiscoverer Interface

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
Remarks

Only implementations of ISerializerFactoryProvider may implement this interface.

Methods

Name Description
DiscoverSerializers(Type)

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

See Also