PostSharp4.3/API Reference/Post­Sharp.​Aspects.​Serialization Namespace/Binary­Aspect­Serialization­Binder Class/Binary­Aspect­Serialization­Binder Methods/Binary­Aspect­Serialization­Binder.​Bind­To­Type Method
BinaryAspectSerializationBinder.BindToType Method
When overridden in a derived class, controls the binding of a serialized object to a type.

Namespace: PostSharp.Aspects.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public override Type BindToType(
	string assemblyName,
	string typeName
)

Parameters

assemblyName
Type: System.String
Specifies the Assembly name of the serialized object.
typeName
Type: System.String
Specifies the Type name of the serialized object.

Return Value

Type: Type
The type of the object the formatter creates a new instance of.
See Also