Skip to content
Version 2.11.0
↓ Get the launcher

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.