PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Serializers Namespace / Portable­Serializer Class / Portable­Serializer Constructor / Portable­Serializer Constructor (Portable­Formatter)

PortableSerializer Constructor (PortableFormatter)

Initializes a new PortableSerializer with a given PortableFormatter.

Namespace:  PostSharp.Patterns.Caching.Serializers
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public PortableSerializer(
	PortableFormatter serializer
)

Parameters

serializer
Type: PostSharp.Serialization.PortableFormatter
A PortableFormatter, or null to use a new default PortableFormatter.
See Also