1. Donald Clayton
  2. PowerScript Migrator
  3. Thursday, 15 October 2020 16:58 PM UTC

When using the PowerScript Migrator to migrate a nonvisual object inherited from  the PB system class nonvisualobject, I observed that the C# class generated is inherited from object (i.e., not inherited from anything).  Which begs the question, has Appeon developed or considered developing a class that nvos could be inherited from?  I would think that would have been in the PowerScript.Bridge package but it's not there.

A common ancestor nonvisualobject would implement the events/methods in the attached screen grab.

IMHO, a generated nvo should have an ancestor that implements the interface of NVOs in PB.  That would make the code migration effort much smoother.  I also noticed that when the code is generated it is missing required using statements, although the C# code that was generated requires them.

Attachments (1)
Logan Liu @Appeon Accepted Answer Pending Moderation
  1. Saturday, 17 October 2020 16:48 PM UTC
  2. PowerScript Migrator
  3. # 1

Hi Donald, 

1) "A generated nvo should have an ancestor that implements the interface of NVOs in PB.  That would make the code migration effort much smoother. "

Thanks for your suggestion. We suggest that you submit an enhancement ticket on our support portal (at https://www.appeon.com/standardsupport). This way, our product team will analyze this request when they plan to extend PowerScript Migrator functions in the future.

2) "I also noticed that when the code is generated it is missing required using statements, although the C# code that was generated requires them."

It seems like a bug. Please report a PowerScript Migrator bug in the Appeon Standard Support at https://www.appeon.com/standardsupport/. Then submit your sample code there. Appreciate your understanding.

Regards,

Logan

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.