So this isn't terribly strange specific, although if I saw an ugly switch like that it would raise a red flag. You're essentially recreating a basic map, so I suggest either making use of a hashmap(dictionary in c#), or potentially looking at extending our binder class, which is basically just a hashmap. And just to be clear, I think you probably have a simple architectural issue here if you're passing around names of things to call.