/// <summary> /// Sets the plugin implementations. /// </summary> /// <param name="container">The container.</param> private void SetPluginImplementations(Container container) { var directoryInfo = new DirectoryInfo(this._pluginDirectory); PluginManager pluginManager = new PluginManager(container); pluginManager.RegisterAll(directoryInfo, (manager, assemblies) => manager.RegisterAllInterfaces(assemblies, new HashSet<Type> { typeof(IRetrieverFactory) })); }