public CompilationEngineContext(IApplicationEnvironment applicationEnvironment, IAssemblyLoadContext defaultLoadContext, CompilationCache cache, IProjectGraphProvider projectGraphProvider) : this(applicationEnvironment, defaultLoadContext, cache, NoopWatcher.Instance, projectGraphProvider) { }
public CompilationEngineContext(IApplicationEnvironment applicationEnvironment, IAssemblyLoadContext defaultLoadContext, CompilationCache cache, IProjectGraphProvider projectGraphProvider) : this(applicationEnvironment, defaultLoadContext, cache, NoopWatcher.Instance, projectGraphProvider) { }
public CompilationEngineContext(LibraryManager libraryManager, IProjectGraphProvider projectGraphProvider, IFileWatcher fileWatcher, IServiceProvider services, FrameworkName targetFramework, string configuration) { LibraryManager = libraryManager; ProjectGraphProvider = projectGraphProvider; FileWatcher = fileWatcher; TargetFramework = targetFramework; Configuration = configuration; _services = new ServiceProvider(services); }
public CompilationEngineContext(LibraryManager libraryManager, IProjectGraphProvider projectGraphProvider, IFileWatcher fileWatcher, IServiceProvider services, FrameworkName targetFramework, string configuration) { LibraryManager = libraryManager; ProjectGraphProvider = projectGraphProvider; FileWatcher = fileWatcher; TargetFramework = targetFramework; Configuration = configuration; _services = new ServiceProvider(services); }
public CompilationEngineContext(IApplicationEnvironment applicationEnvironment, IAssemblyLoadContext defaultLoadContext, CompilationCache cache, IFileWatcher fileWatcher, IProjectGraphProvider projectGraphProvider) { ApplicationEnvironment = applicationEnvironment; DefaultLoadContext = defaultLoadContext; ProjectGraphProvider = projectGraphProvider; CompilationCache = cache; FileWatcher = fileWatcher; // Register compiler services AddCompilationService(typeof(IFileWatcher), FileWatcher); AddCompilationService(typeof(IApplicationEnvironment), ApplicationEnvironment); AddCompilationService(typeof(ICache), CompilationCache.Cache); AddCompilationService(typeof(ICacheContextAccessor), CompilationCache.CacheContextAccessor); AddCompilationService(typeof(INamedCacheDependencyProvider), CompilationCache.NamedCacheDependencyProvider); }
public CompilationEngineContext(IApplicationEnvironment applicationEnvironment, IAssemblyLoadContext defaultLoadContext, CompilationCache cache, IFileWatcher fileWatcher, IProjectGraphProvider projectGraphProvider) { ApplicationEnvironment = applicationEnvironment; DefaultLoadContext = defaultLoadContext; ProjectGraphProvider = projectGraphProvider; CompilationCache = cache; FileWatcher = fileWatcher; // Register compiler services AddCompilationService(typeof(IFileWatcher), FileWatcher); AddCompilationService(typeof(IApplicationEnvironment), ApplicationEnvironment); AddCompilationService(typeof(ICache), CompilationCache.Cache); AddCompilationService(typeof(ICacheContextAccessor), CompilationCache.CacheContextAccessor); AddCompilationService(typeof(INamedCacheDependencyProvider), CompilationCache.NamedCacheDependencyProvider); }