Class OverviewExtends test target applications to make them test-ready. Can load native DLLs as well as assemblies. When this class is used to load an assembly, references are resolved without placing the assembly in the search path of the target application.
public static bool LoadLibrary(WindowsAppFriend app, string fileName)
Description Causes the target application to load the indicated native DLL. Return Value
Parametersapp Application manipulation object.
public static void LoadAssemblyFromFile(WindowsAppFriend app, string filePath)
DescriptionCauses the target application to load an assembly from an indicated path.
Parameters Application manipulation object.
public static void LoadAssemblyFromFullName(WindowsAppFriend app, string assemblyString)
DescriptionCauses the target application to load an assembly using an indicated full name.
Parameters Application manipulation object.
public static void LoadAssemblyFromFile(WindowsAppFriend app, string assemblyString, string filePath)DescriptionCauses the target application to load an assembly from an indicated path. If can't load assembly by Assembly.Load, load by Assembly.LoadFile.
Parameters Application manipulation object.
Full name of assembly
filePath
Full path of assembly
public static void LoadAssemblyFromFile(WindowsAppFriend app, Assembly assembly)DescriptionCauses the target application to load an assembly from an indicated path. If can't load assembly by Assembly.Load, load by Assembly.LoadFile.
Parameters Application manipulation object.
JR
|
|