Skip to content

IProviderRuntime Methods

Interface to allow callbacks from providers into their assigned provider-manager. This allows access to runtime functionality, such as logging.

BindExtension(Func<TExtension>)

abstract
public abstract (TExtension Extension, TExtensionInterface ExtensionReference) IProviderRuntime.BindExtension<TExtension, TExtensionInterface>(Func<TExtension> newExtensionFunc)
Binds an extension to an addressable object, if not already done.

Parameters

newExtensionFuncFunc<TExtension>
A factory function that constructs a new extension object.

Returns

A tuple, containing first the extension and second an addressable reference to the extension's interface.