PostSharp.ILAPI ReferencePost­Sharp.​SerializationPSerializable­Attribute
Open sandboxFocus

PSerializableAttribute Class

Custom attribute that, when applied to a type, causes PostSharp to generate a serializer for use by the PortableFormatter.

Inheritance
PSerializableAttribute
Implements
IAspect
Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
[RequirePostSharp(null, "PortableSerializer")]
[LinesOfCodeAvoided(0)]
public sealed class PSerializableAttribute : MulticastAttribute, IAspect

Constructors

Name Description
PSerializableAttribute() PostSharp.Serialization.PSerializableAttribute