A class that lists the contents of a given directory.
Inheritance: IDirectoryListing
示例#1
0
        /// <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);
        }
示例#2
0
 /// <summary>
 /// Initializes the target with the default settings.
 /// </summary>
 public Loader()
     : base(new TypeExtractor(), new AssemblyLoader(), new PluginLoader <TTarget, LoaderPluginAttribute>())
 {
     DirectoryLister = new DefaultDirectoryLister();
 }