IPluginExchange.Consume<T> method
Get the registered provider of contract T, or null when no plugin provides it (e.g. the providing plugin is not installed) — callers fall back accordingly.
public T? Consume<T>() where T : class| parameter | description |
|---|---|
| T | The shared contract interface. |
Return Value
Section titled “Return Value”The provider implementation, or null.
See Also
Section titled “See Also”- interface IPluginExchange
- namespace Stellar.Abstractions.Services