Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.665 Beiträge
 
#1

Delphi: TInvokableClassRegistryHelper.GetInterfaceNamespac e as the opposite of TInvok

  Alt 17. Sep 2020, 19:10
A while ago, I needed the opposite of InvRegistry.RegisterInterface(TypeInfo(MySoapInter facePortType, '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.Ge

Weiterlesen...
  Mit Zitat antworten Zitat