PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Portable­Formatter Class / Portable­Formatter Constructor / Portable­Formatter Constructor (Portable­Serialization­Binder, ISerializer­Factory­Provider)

PortableFormatter Constructor (PortableSerializationBinder, ISerializerFactoryProvider)

Initializes a new PortableFormatter.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public PortableFormatter(
	PortableSerializationBinder binder,
	ISerializerFactoryProvider serializerProvider
)

Parameters

binder
Type: PostSharp.Serialization.PortableSerializationBinder
A PortableSerializationBinder customizing bindings between types and type names, or null to use the default implementation.
serializerProvider
Type: PostSharp.Serialization.ISerializerFactoryProvider
A custom implementation of ISerializerFactoryProvider, or null to use the default implementation.
See Also