[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Translate some Visual Studio code

  • Thread starter Thread starter DenDuze
  • Start date Start date
Status
Not open for further replies.
D

DenDuze

Guest
ok, tried it with that but It's unclear to me how I need to use that in my case I tried the following method PUBLIC System.Object InvokeGenericMethod (Object, character, character) def var o as Verpigo.Extensibility.ExtensionManager. def var o2 as PaymentExtension_Adyen.AdyenPaymentHandlerExtension. o2 = CAST (ReflectionHelper:InvokeGenericMethod(o, "HandlePayment", "Verpigo.Extensibility.ExtensionManager"). But I get error 205 I'm sure I'm doing something wrong (but that's normal because I have no idea what this does) The code to translate is: ExtensionManager.Instance.Invoke(Of IPaymentHandlerExtension)(Sub(x) x.HandlePayment(paymentId, amount, comment)) Please advise

Continue reading...
 
Status
Not open for further replies.
Back
Top