public CavemanHammerRuntimePluginLoader(IAppDomain appDomain, IPluginLoaderSettings settings, IPluginLoaderFactory <ICaveManTool <Hammer> > pluginLoaderFactory, IPluginObjectCreator <ICaveManTool <Hammer> > pluginObjectCreator, IPluginPaths pluginPaths = null, IPluginLoaderLogger logger = null) : base(appDomain, settings, pluginLoaderFactory, pluginObjectCreator, pluginPaths, logger) { }
public TestRuntimePluginLoader(IAppDomain appDomain, IPluginLoaderSettings settings, IPluginLoaderFactory <IOrganization> pluginLoaderFactory, IPluginObjectCreator <IOrganization> pluginObjectCreator, IPluginPaths pluginPaths, IPluginLoaderLogger logger) : base(appDomain, settings, pluginLoaderFactory, pluginObjectCreator, pluginPaths, logger) { }
public RuntimePluginLoaderBase(IAppDomain appDomain, IPluginLoaderSettings settings, IPluginLoaderFactory <T> pluginLoaderFactory, IPluginObjectCreator <T> pluginObjectCreator, IPluginPaths pluginPaths = null, IPluginLoaderLogger logger = null, bool disconnectResolverOnPluginLoad = false, bool disconnectResolverOnPluginTypeLoad = false) { _AppDomain = appDomain ?? throw new ArgumentNullException(nameof(appDomain)); _Settings = settings ?? throw new ArgumentNullException(nameof(settings)); _PluginLoaderFactory = pluginLoaderFactory ?? throw new ArgumentNullException(nameof(pluginLoaderFactory)); _PluginObjectCreator = pluginObjectCreator ?? throw new ArgumentNullException(nameof(pluginObjectCreator)); pluginPaths = pluginPaths ?? new AppPluginPaths(_Settings.AppName, GetDefaultPluginDirectory(), _AppDomain, _Logger); _PluginPaths = string.IsNullOrWhiteSpace(PluginSubFolder) ? pluginPaths : new PluginPaths { Paths = pluginPaths.Paths.Select(p => Path.Combine(p, PluginSubFolder)) }; _Logger = logger; _DisconnectResolverOnPluginLoad = disconnectResolverOnPluginLoad; _DisconnectResolverOnPluginTypeLoad = disconnectResolverOnPluginTypeLoad; }