/// <summary> /// Initializes the target with the default settings. /// </summary> public Loader() { DirectoryLister = new DefaultDirectoryLister(); // Make sure that loader plugins are loaded // on every LoadDirectory() call var pluginTypeLoader = new PluginLoader <TTarget, LoaderPluginAttribute>(); _pluginLoader.TypeLoaders.Add(pluginTypeLoader); }
/// <summary> /// Initializes the target with the default settings. /// </summary> public Loader() : base(new TypeExtractor(), new AssemblyLoader(), new PluginLoader <TTarget, LoaderPluginAttribute>()) { DirectoryLister = new DefaultDirectoryLister(); }