PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Serialization Namespace / Portable­Formatter Class / Portable­Formatter Constructor
PortableFormatter Constructor
Initializes a new PortableFormatter.

Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: (
public PortableFormatter(
	PortableSerializationBinder binder = null,
	ISerializerFactoryProvider serializerProvider = null


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