PostSharp 6.10 / / Post­Sharp Documentation / 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: 6.10.10.0 (6.10.10.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