Repository navigation
ask wiring
Who registers an interface, and where it is resolved. One of the diagram questions of the ask verb -- see Diagrams and Charts for the model, the bundle and click-to-source.
Answered in-process by the engine (drag-lint ask); no PowerShell is needed (see Charts and the IDE).
From RAD Studio: drag-lint > Reports > Who registers and resolves this interface... -- put the caret on the selection first (see IDE Menu Reference).
drag-lint ask --question wiring --at <file.pas>:<line>:<col> --db <project.sqlite>
The selection is the symbol under --at (resolved exactly as Type at Cursor resolves a caret). From a terminal, ask it by name:
drag-lint ask wiring --target MyApp.Services.IOrderService --db <project.sqlite>
An interface.
Spring4D registrations of the interface (implementation class, lifetime, registering routine) and every site that resolves it.
di_bindings -- the data behind the wiring verb.
Row cap (default 20).
Selecting a CLASS refuses with a reason: the verb returns the same empty document for a class and for an interface nobody registers, so the chart checks the kind itself. A project that registers in a LOCAL TContainer may carry few bindings -- check wiring --coverage before trusting an empty answer.