0

Closed

Workaround Static Class Issue With Console

description

You can't use static types as parameters to generics. Read this for details:
 
http://www.jasonbock.net/JB/Default.aspx?blog=entry.80b16572c536433fb2e4bc8c36263957
 
However, I'm wondering if I provide another version of ScopeSwitcher that only takes one generic type, and you pass in the static type as a "typeof" argument. Look into this.
Closed Nov 25, 2008 at 5:03 AM by jasonrbock
This has been addressed with ScopeSwitcherHelper

comments