Vote UpVote

Delphi: TInvokableClassRegistryHelper.GetInterfaceNamespace as the opposite of TInvokableClassRegistry.RegisterInterface

The Wiert Corner – A while ago, I needed the opposite of InvRegistry.RegisterInterface(TypeInfo(MySoapInterfacePortType, 'urn:myURN', 'utf-8');, so instead of registering an interface with a namespace URN, obtain the URN by passing the interface inverting [WayBack] TInvokableClassRegistry.RegisterInterface. This is the class helper I wrote: type TInvokableClassRegistryHelper = class helper for TInvokableClassRegistry public function GetInterfaceNamespace(Info: PTypeInfo): string; end; function TInvokableClassRegistryHelper.GetInterfaceNamespace(Info: PTypeInfo): string; var InfoGuid: TGUID; begin ...
Favorite? Off-Topic? jpluimers @ 2020-09-22 13:02


Visits: 36
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

MichaƂ Rajewicz
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)