AssemblyHelper provides static methods for working with assemblies.
More...
|
static string | GetAssemblyPath (Type type) |
| Gets the path from which the assembly defining a type was loaded. More...
|
|
static string | GetAssemblyPath (Assembly assembly) |
| Gets the path from which an assembly was loaded. More...
|
|
static string | GetDirectoryName (Assembly assembly) |
| Gets the path to the directory from which an assembly was loaded. More...
|
|
static AssemblyName | GetAssemblyName (Assembly assembly) |
| Gets the AssemblyName of an assembly. More...
|
|
static Assembly | Load (string nameOrPath) |
| Loads an assembly given a string, which may be the path to the assembly or the AssemblyName More...
|
|
static string | GetAssemblyPathFromCodeBase (string codeBase) |
| Gets the assembly path from code base. More...
|
|
AssemblyHelper provides static methods for working with assemblies.
static string NUnit.Common.AssemblyHelper.GetAssemblyPath |
( |
Type |
type | ) |
|
|
inlinestatic |
static string NUnit.Common.AssemblyHelper.GetAssemblyPath |
( |
Assembly |
assembly | ) |
|
|
inlinestatic |
Gets the path from which an assembly was loaded.
- Parameters
-
- Returns
- The path.
static string NUnit.Common.AssemblyHelper.GetDirectoryName |
( |
Assembly |
assembly | ) |
|
|
inlinestatic |
static AssemblyName NUnit.Common.AssemblyHelper.GetAssemblyName |
( |
Assembly |
assembly | ) |
|
|
inlinestatic |
static Assembly NUnit.Common.AssemblyHelper.Load |
( |
string |
nameOrPath | ) |
|
|
inlinestatic |
static bool NUnit.Common.AssemblyHelper.IsFileUri |
( |
string |
uri | ) |
|
|
inlinestaticprivate |
static string NUnit.Common.AssemblyHelper.GetAssemblyPathFromCodeBase |
( |
string |
codeBase | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: