PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/Portable­Serialization­Binder Class/Portable­Serialization­Binder Methods/Portable­Serialization­Binder.​Bind­To­Type Method

PortableSerializationBinder.BindToType Method

Gets a Type given a type name and an assembly name.

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

Parameters

typeName
Type: System.String
The type name.
assemblyName
Type: System.String
The assembly name.

Return Value

Type: Type
The required Type.
See Also