Hi, it does look like there is support for the Action and Func delegates in the System namespace in C++/CLI. At least not for multiple generic arguments such as:
System::Action<int, int>^ action = nullptr;
System::Func<int, int>^ func = nullptr;
Both result in errors such as:
error C2977: 'System::Action' : too many generic arguments
error C2955: 'System::Action' : use of class generic requires generic argument list
Only single argument Action works:
System::Action<int>^ action = nullptr;
Anyone, knows why or what is missing to make this work. I am using Visual Studio 2008 and the project has target framework 3.5.