private static void TargetChoiceForwardFunction(object userData) { PropertyAndTargetHandler handler = (PropertyAndTargetHandler) userData; handler.function(handler.property, handler.target); }