public void Invoke(object[] values) { Type[] valueTypes = InvokerUtility.GetValueTypes(values); GetDelegate(GetValueTypes(valueTypes)).DynamicInvoke(GetValues(values)); }
public TResult Invoke(object[] values) { Type[] valueTypes = InvokerUtility.GetValueTypes(values); return((TResult)GetDelegate(GetValueTypes(valueTypes)).DynamicInvoke(GetValues(values))); }