delphi - Multiple inheritance for interfaces -


is there way define interface inherits 2 or more interfaces?

i tried following code on delphi2007:

  iinterfacea = interface      procedure a;   end;    iinterfaceb = interface     procedure b;   end;    iinterfaceab = interface(iinterfacea, iinterfaceb); 

.. , raised error e2029 ')' expected ',' found @ line iinterfaceab = interface(iinterfacea, iinterfaceb).

there no multiple interface inheritance in delphi there no multiple inheritance in delphi @ all. can make class implement more 1 interface @ once.

tmyclass = class(tinterfacedobject, iinterfacea, iinterfaceb) 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -