PostSharp6.1/API Reference/Post­Sharp.​Aspects.​Serialization Namespace/Binary­Aspect­Serialization­Binder Class

BinaryAspectSerializationBinder Class

Implementation of SerializationBinder used at runtime when aspect instances are deserialized. By overriding the default binder, you can resolve assembly names differently. This can be useful if assemblies have been renamed or merged between PostSharp run and execution
Inheritance Hierarchy
System.Object
  System.Runtime.Serialization.SerializationBinder
    PostSharp.Aspects.Serialization.BinaryAspectSerializationBinder

Namespace:  PostSharp.Aspects.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public class BinaryAspectSerializationBinder : SerializationBinder

The BinaryAspectSerializationBinder type exposes the following members.

Constructors
  NameDescription
Public methodBinaryAspectSerializationBinder
Initializes a new .
Methods
  NameDescription
Public methodBindToType
When overridden in a derived class, controls the binding of a serialized object to a type.
(Overrides SerializationBinder.BindToType(String, String).)
See Also