Пример #1
0
        public DynamicExtensionLoader(
            IBuildManager buildManager,
            IVirtualPathProvider virtualPathProvider,
            IVirtualPathMonitor virtualPathMonitor,
            IHostEnvironment hostEnvironment,
            IAssemblyProbingFolder assemblyProbingFolder,
            IDependenciesFolder dependenciesFolder,
            IProjectFileParser projectFileParser,
            ExtensionLocations extensionLocations)
            : base(dependenciesFolder)
        {
            _buildManager = buildManager;
            _virtualPathProvider = virtualPathProvider;
            _virtualPathMonitor = virtualPathMonitor;
            _hostEnvironment = hostEnvironment;
            _assemblyProbingFolder = assemblyProbingFolder;
            _projectFileParser = projectFileParser;
            _dependenciesFolder = dependenciesFolder;

            Logger = NullLogger.Instance;

            _extensionsVirtualPathPrefixes = extensionLocations.ModuleAndThemeLocations;
        }
Пример #2
0
 public DynamicExtensionLoaderAccessor(
     IBuildManager buildManager,
     IVirtualPathProvider virtualPathProvider,
     IVirtualPathMonitor virtualPathMonitor,
     IHostEnvironment hostEnvironment,
     IAssemblyProbingFolder assemblyProbingFolder,
     IDependenciesFolder dependenciesFolder,
     IProjectFileParser projectFileParser,
     ExtensionLocations extensionLocations)
     : base(buildManager, virtualPathProvider, virtualPathMonitor, hostEnvironment, assemblyProbingFolder, dependenciesFolder, projectFileParser, extensionLocations) {}
        public DynamicModuleVirtualPathProvider(IExtensionDependenciesManager extensionDependenciesManager, ExtensionLocations extensionLocations) {
            _extensionDependenciesManager = extensionDependenciesManager;
            Logger = NullLogger.Instance;

            _extensionsVirtualPathPrefixes = extensionLocations.ExtensionsVirtualPathPrefixes;
        }