protected virtual void LoadPlugin(PluginDescriptor pluginDescriptor, IRuntimePluginLoader pluginLoader, RuntimePluginEvents runtimePluginEvents) { var plugin = pluginLoader.LoadPlugin(pluginDescriptor); var runtimePluginParameters = new RuntimePluginParameters { Parameters = pluginDescriptor.Parameters }; plugin.Initialize(runtimePluginEvents, runtimePluginParameters); }
protected virtual void LoadPlugin(string pluginPath, IRuntimePluginLoader pluginLoader, RuntimePluginEvents runtimePluginEvents, UnitTestProviderConfiguration unitTestProviderConfigration, ITraceListener traceListener) { traceListener.WriteToolOutput($"Loading plugin {pluginPath}"); var plugin = pluginLoader.LoadPlugin(pluginPath, traceListener); var runtimePluginParameters = new RuntimePluginParameters(); plugin?.Initialize(runtimePluginEvents, runtimePluginParameters, unitTestProviderConfigration); }
protected virtual IRuntimePlugin LoadPlugin(IRuntimePluginLoader pluginLoader, PluginDescriptor pluginDescriptor) { return pluginLoader.LoadPlugin(pluginDescriptor); }
private static IRuntimePlugin LoadPlugin(IRuntimePluginLoader pluginLoader, PluginDescriptor pluginDescriptor) { return(pluginLoader.LoadPlugin(pluginDescriptor)); }
private static IRuntimePlugin LoadPlugin(IRuntimePluginLoader pluginLoader, PluginDescriptor pluginDescriptor) { return pluginLoader.LoadPlugin(pluginDescriptor); }
protected virtual void LoadPlugin(PluginDescriptor pluginDescriptor, IRuntimePluginLoader pluginLoader, RuntimePluginEvents runtimePluginEvents) { var plugin = pluginLoader.LoadPlugin(pluginDescriptor); var runtimePluginParameters = new RuntimePluginParameters { Parameters = pluginDescriptor.Parameters }; plugin.Initialize(runtimePluginEvents, runtimePluginParameters); }
protected virtual IRuntimePlugin LoadPlugin(IRuntimePluginLoader pluginLoader, PluginDescriptor pluginDescriptor) { return(pluginLoader.LoadPlugin(pluginDescriptor)); }