Starting an STA thread, but with parameters to the final function
- by DRapp
I'm a bit weak on how some delegates behave, such as passing a method as the parameter to be invoked. While trying to do some NUnit test scripts, I have something that I need to run many test with. Each of these tests requires a GUI created and thus the need for an STA thread. So, I have something like
public class MyTest
{
// the Delegate…