Hi,
I’m using a Delphi host and C# plugins. I have an interface implemented in Delphi that is a collection. I would like this interface to conform to IEnumerable on the C# side so I can use foreach to iterate the collection and use LINQ.
My interface:
IObjects = interface(IHYCrossPlatformInterface)
function GetItem(Index: Integer): IObject; safecall;
end;
How can I have it conform to IEnumerable?
Regards,
/Markus