ReflectionUtils.GetTypeFromName

Helper routine that looks up a type name and tries to retrieve the full type reference using GetType() and if not found looking in the actively executing assemblies and optionally loading the specified assembly name.

public static Type GetTypeFromName(string typeName,
	string assemblyName)

Return Value

null

Parameters

typeName
type to load

assemblyName
Optional assembly name to load from if type cannot be loaded initially. Use for lazy loading of assemblies without taking a type dependency.

Overloads:


See also:

Class ReflectionUtils

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic