U
uncle
config file that contains lines like...
assemblyname|classname|methodname
I want to invoke that static method. I found the following examples
which make sense...
Type theClass = assembly.GetType("Namespace.Classname", false, true);
bool result = (bool)theClass.InvokeMember("Initialize",
BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Static,
null, null, new object[]{ });
But how to I get the assembly instance given an assembly name (like
wow.dll) and not the full assembly path!?
-- Thanks, Andrew
assemblyname|classname|methodname
I want to invoke that static method. I found the following examples
which make sense...
Type theClass = assembly.GetType("Namespace.Classname", false, true);
bool result = (bool)theClass.InvokeMember("Initialize",
BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Static,
null, null, new object[]{ });
But how to I get the assembly instance given an assembly name (like
wow.dll) and not the full assembly path!?
-- Thanks, Andrew