Hi,
I want to create a simple interface where the caller may pass a method
name and parameters separated by a delimiter to a method, and this
method will perform the call to the method using the correct
parameters
e.g.:
MyMethod("WebServiceMethod", "Param1#Param2#Param3")
{
// Should perform the following operation
WebServiceMethod(Param1, Param2, Param3);
}
In C++ this would have been done using macros.
Is there any way to do this without using a huge switch/if block that
already knows which methods are available from the webservice?