Method | Description | |
---|---|---|
GetTypeFromString ( string typeName, bool throwOnError ) : |
Loads the type specified in the type string with assembly qualified name. If the Type cannot be instantiated from the assembly qualified type name, then we'll try to instantiate the type using its simple type name from an already loaded assembly with an assembly name mathing the assembly in the assembly qualified type name. |
Method | Description | |
---|---|---|
ReflectionUtils ( ) : System |
Initializes a new instance of the ReflectionUtils class. Uses a private access modifier to prevent instantiation of this class. |
public static GetTypeFromString ( string typeName, bool throwOnError ) : |
||
typeName | string | The assembly qualified name of the type to load. |
throwOnError | bool | Flag set to |
return |