Beispiel #1
0
 public RoslynAssemblyLoader(string rootPath,
                             IFileWatcher watcher,
                             IFrameworkReferenceResolver resolver,
                             IGlobalAssemblyCache globalAssemblyCache,
                             IAssemblyLoader dependencyLoader,
                             IResourceProvider resourceProvider)
 {
     _rootPath = rootPath;
     _watcher = watcher;
     _resolver = resolver;
     _globalAssemblyCache = globalAssemblyCache;
     _dependencyLoader = dependencyLoader;
     _resourceProvider = resourceProvider;
 }
Beispiel #2
0
 public RoslynAssemblyLoader(string rootPath,
                             IFileWatcher watcher,
                             IFrameworkReferenceResolver resolver,
                             IGlobalAssemblyCache globalAssemblyCache,
                             IAssemblyLoader dependencyLoader,
                             IResourceProvider resourceProvider)
 {
     _rootPath            = rootPath;
     _watcher             = watcher;
     _resolver            = resolver;
     _globalAssemblyCache = globalAssemblyCache;
     _dependencyLoader    = dependencyLoader;
     _resourceProvider    = resourceProvider;
 }
Beispiel #3
0
 public Program(
     IAssemblyLoaderContainer container,
     IApplicationEnvironment environment,
     IServiceProvider services,
     IAssemblyLoadContextFactory loadContextFactory,
     IAssemblyLoadContextAccessor loadContextAccessor,
     IFrameworkReferenceResolver referenceResolver)
 {
     _container                  = container;
     _environment                = environment;
     _services                   = services;
     _loadContextFactory         = loadContextFactory;
     _loadContextAccessor        = loadContextAccessor;
     _frameworkReferenceResolver = referenceResolver;
 }
 public ReferenceAssemblyDependencyProvider(IFrameworkReferenceResolver frameworkReferenceResolver)
 {
     Log = RuntimeLogging.Logger<ReferenceAssemblyDependencyProvider>();
     FrameworkResolver = frameworkReferenceResolver;
 }
 public ReferenceAssemblyDependencyProvider(IFrameworkReferenceResolver frameworkReferenceResolver)
 {
     Log = RuntimeLogging.Logger <ReferenceAssemblyDependencyProvider>();
     FrameworkResolver = frameworkReferenceResolver;
 }
 public NuGetDependencyResolver(string packagesPath, IFrameworkReferenceResolver frameworkReferenceResolver)
 {
     _repository = new PackageRepository(packagesPath);
     _frameworkReferenceResolver = frameworkReferenceResolver;
     Dependencies = Enumerable.Empty<LibraryDescription>();
 }
 public ReferenceLoader(IFrameworkReferenceResolver frameworkReferenceResolver, FrameworkName framework)
 {
     _frameworkReferenceResolver = frameworkReferenceResolver;
     _framework = framework;
 }
Beispiel #8
0
 public NuGetDependencyResolver(string packagesPath, IFrameworkReferenceResolver frameworkReferenceResolver)
 {
     _repository = new PackageRepository(packagesPath);
     _frameworkReferenceResolver = frameworkReferenceResolver;
     Dependencies = Enumerable.Empty <LibraryDescription>();
 }