IPluginExchange.Provide<T> method
Register implementation as the provider of contract T. If two plugins provide the same contract, the last to register wins.
public void Provide<T>(T implementation) where T : class| parameter | description |
|---|---|
| T | The shared contract interface (defined in a contracts assembly, not in this framework). |
| implementation | The implementation other plugins will consume. |
See Also
Section titled “See Also”- interface IPluginExchange
- namespace Stellar.Abstractions.Services