Class TypeUtility
Inheritance
object
TypeUtility
Namespace: TetraCreations.Core
Assembly: cs.temp.dll.dll
Syntax
public static class TypeUtility
Methods
GetAssembly(string, bool)
Returns an assembly by it's name
Declaration
public static Assembly GetAssembly(string name, bool ignoreCase = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The assembly name |
| bool | ignoreCase | If we ignore the case during string comparison |
Returns
| Type | Description |
|---|---|
| Assembly |
ParseType(string, string)
Tries to return a Type by it's name from a given assembly name.
Declaration
public static Type ParseType(string assembName, string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | assembName | The assembly name to search from |
| string | typeName | The type name we want |
Returns
| Type | Description |
|---|---|
| System.Type |