Exemple #1
0
        /// <summary>
        /// 初始化一个新的扩展装载机。
        /// </summary>
        /// <param name="dependenciesFolder">依赖文件夹。</param>
        /// <param name="assemblyProbingFolder">程序集探测文件夹。</param>
        /// <param name="applicationFolder">应用程序文件夹。</param>
        /// <param name="hostEnvironment">主机环境。</param>
        public PrecompiledExtensionLoader(IDependenciesFolder dependenciesFolder, IHostEnvironment hostEnvironment, IAssemblyProbingFolder assemblyProbingFolder, IApplicationFolder applicationFolder)
            : base(dependenciesFolder)
        {
            _hostEnvironment       = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _applicationFolder     = applicationFolder;

            Logger = NullLogger.Instance;
        }
 public DynamicExtensionLoaderAccessor(
     IBuildManager buildManager,
     IVirtualPathProvider virtualPathProvider,
     IVirtualPathMonitor virtualPathMonitor,
     IHostEnvironment hostEnvironment,
     IAssemblyProbingFolder assemblyProbingFolder,
     IDependenciesFolder dependenciesFolder,
     IProjectFileParser projectFileParser)
     : base(buildManager, virtualPathProvider, virtualPathMonitor, hostEnvironment, assemblyProbingFolder, dependenciesFolder, projectFileParser)
 {
 }
        public PrecompiledExtensionLoader(
            IHostEnvironment hostEnvironment,
            IDependenciesFolder dependenciesFolder,
            IAssemblyProbingFolder assemblyProbingFolder,
            IVirtualPathProvider virtualPathProvider,
            IVirtualPathMonitor virtualPathMonitor)
            : base(dependenciesFolder)
        {
            _hostEnvironment       = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _virtualPathProvider   = virtualPathProvider;
            _virtualPathMonitor    = virtualPathMonitor;

            Logger = NullLogger.Instance;
        }
        public DynamicExtensionLoader(
            IBuildManager buildManager,
            IVirtualPathProvider virtualPathProvider,
            IVirtualPathMonitor virtualPathMonitor,
            IHostEnvironment hostEnvironment,
            IAssemblyProbingFolder assemblyProbingFolder,
            IDependenciesFolder dependenciesFolder,
            IProjectFileParser projectFileParser)
            : base(dependenciesFolder)
        {
            _buildManager          = buildManager;
            _virtualPathProvider   = virtualPathProvider;
            _virtualPathMonitor    = virtualPathMonitor;
            _hostEnvironment       = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _projectFileParser     = projectFileParser;
            _dependenciesFolder    = dependenciesFolder;

            Logger = NullLogger.Instance;
        }
 public DynamicExtensionLoaderAccessor(
     IBuildManager buildManager,
     IVirtualPathProvider virtualPathProvider,
     IVirtualPathMonitor virtualPathMonitor,
     IHostEnvironment hostEnvironment,
     IAssemblyProbingFolder assemblyProbingFolder,
     IDependenciesFolder dependenciesFolder,
     IProjectFileParser projectFileParser)
     : base(buildManager, virtualPathProvider, virtualPathMonitor, hostEnvironment, assemblyProbingFolder, dependenciesFolder, projectFileParser)
 {
 }
        /// <summary>
        /// 初始化一个新的扩展装载机。
        /// </summary>
        /// <param name="dependenciesFolder">依赖文件夹。</param>
        /// <param name="assemblyProbingFolder">程序集探测文件夹。</param>
        /// <param name="applicationFolder">应用程序文件夹。</param>
        /// <param name="hostEnvironment">主机环境。</param>
        public PrecompiledExtensionLoader(IDependenciesFolder dependenciesFolder, IHostEnvironment hostEnvironment, IAssemblyProbingFolder assemblyProbingFolder, IApplicationFolder applicationFolder)
            : base(dependenciesFolder)
        {
            _hostEnvironment = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _applicationFolder = applicationFolder;

            Logger = NullLogger.Instance;
        }
        public PrecompiledExtensionLoader(
            IHostEnvironment hostEnvironment,
            IDependenciesFolder dependenciesFolder,
            IAssemblyProbingFolder assemblyProbingFolder,
            IVirtualPathProvider virtualPathProvider,
            IVirtualPathMonitor virtualPathMonitor)
            : base(dependenciesFolder) {
            _hostEnvironment = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _virtualPathProvider = virtualPathProvider;
            _virtualPathMonitor = virtualPathMonitor;

            Logger = NullLogger.Instance;
        }
        public DynamicExtensionLoader(
            IBuildManager buildManager,
            IVirtualPathProvider virtualPathProvider,
            IVirtualPathMonitor virtualPathMonitor,
            IHostEnvironment hostEnvironment,
            IAssemblyProbingFolder assemblyProbingFolder,
            IDependenciesFolder dependenciesFolder,
            IProjectFileParser projectFileParser)
            : base(dependenciesFolder) {

            _buildManager = buildManager;
            _virtualPathProvider = virtualPathProvider;
            _virtualPathMonitor = virtualPathMonitor;
            _hostEnvironment = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _projectFileParser = projectFileParser;
            _dependenciesFolder = dependenciesFolder;

            Logger = NullLogger.Instance;
        }