Can you pass a standard c# enum as a parameter?
For example:
enum e1 { //... } enum e2 { //... } public void test() { myFunc( e1 );
Enum.GetValues Enum.GetNames
so something like...
foreach(e1 value in Enum.GetValues(typeof(e1)))