G
Guest
Hi guys
I'm using .net 2, partial classes.
I've got a function (not mine unfortunately, it's in a dll) and I need to
pass this function a Type - the Type of my namespace.
I can get the namespace name with...
System.Reflection.Assembly.GetAssembly(typeof(<myclass>)).GetName().Name.ToString()
But how to I get this into the function when it wants a type? If I add
GetType in front of that, I get null.
How can I turn the name of the namespace that's been generated into a type
so that the function will work?!
Cheers
Dan
I'm using .net 2, partial classes.
I've got a function (not mine unfortunately, it's in a dll) and I need to
pass this function a Type - the Type of my namespace.
I can get the namespace name with...
System.Reflection.Assembly.GetAssembly(typeof(<myclass>)).GetName().Name.ToString()
But how to I get this into the function when it wants a type? If I add
GetType in front of that, I get null.
How can I turn the name of the namespace that's been generated into a type
so that the function will work?!
Cheers
Dan