I am using Hydra to allow a client app written in Delphi to use .NET assemblies written in C#.
I was pleased to find that a property defined in one of the C# classes is exposed as a property at the Delphi level. Very nice!
However, indexers defined in the C# classes are exposed as get_Item, rather than as indexed properties in Delphi. Is it possible to arrange the code so that an indexed property is declared in the import file created by Hydra?
Unfortunately our converter doesn’t work with indexed properties, so if you still want to use them you will need to manually change imported Delphi unit, for example:
At this stage I’m regenerating the Import unit quite frequently. Does Delphi provide a mechanism to extend a class in another source file, so that I could put the extra function declaration there & avoid having it wiped out when I regenerate the Import unit?