PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching.​Serializers Namespace

PostSharp.Patterns.Caching.Serializers Namespace

This namespace contains several serializers, whose role are to serialize cached objects into an array of bytes.
Classes
  ClassDescription
Public classBinarySerializer
An implementation of BinaryFormatter that uses BinaryFormatter (for classes annotated with SerializableAttribute).
Public classDataContractSerializer
An implementation of ISerializer that uses NetDataContractSerializer. You can derive this class to use a different XmlObjectSerializer.
Public classPortableSerializer
An implementation of ISerializer that uses the PortableFormatter (for classes annotated with PSerializableAttribute).
Interfaces
  InterfaceDescription
Public interfaceISerializer
Serializes an object into a byte array and deserializes the byte array back.