public ProjectSystemController(DnxContext dnxContext, MSBuildContext msbuildContext, ScriptCsContext scriptCsContext,
     OmnisharpWorkspace workspace)
 {
     _dnxContext = dnxContext;
     _msbuildContext = msbuildContext;
     _scriptCsContext = scriptCsContext;
     _workspace = workspace;
 }
 public ProjectEventForwarder(DnxContext dnxContext, MSBuildContext msbuildContext, OmnisharpWorkspace workspace, IEventEmitter emitter)
 {
     _dnxContext = dnxContext;
     _msbuildContext = msbuildContext;
     _workspace = workspace;
     _emitter = emitter;
     _workspace.WorkspaceChanged += OnWorkspaceChanged;
 }
Exemplo n.º 3
0
 public MSBuildProjectSystem(OmnisharpWorkspace workspace,
                             IOmnisharpEnvironment env,
                             ILoggerFactory loggerFactory,
                             IMetadataFileReferenceCache metadataReferenceCache,
                             IFileSystemWatcher watcher,
                             MSBuildContext context)
 {
     _workspace = workspace;
     _metadataReferenceCache = metadataReferenceCache;
     _watcher = watcher;
     _env     = env;
     _logger  = loggerFactory.Create <MSBuildProjectSystem>();
     _context = context;
 }
Exemplo n.º 4
0
 public MSBuildProjectSystem(OmnisharpWorkspace workspace,
                             IOmnisharpEnvironment env,
                             ILoggerFactory loggerFactory,
                             IMetadataFileReferenceCache metadataReferenceCache,
                             IFileSystemWatcher watcher,
                             MSBuildContext context)
 {
     _workspace = workspace;
     _metadataReferenceCache = metadataReferenceCache;
     _watcher = watcher;
     _env = env;
     _logger = loggerFactory.Create<MSBuildProjectSystem>();
     _context = context;
 }
        public MsBuildWorkspaceInformation(MSBuildContext msbuildContext, bool excludeSourceFiles)
        {
            SolutionPath = msbuildContext.SolutionPath;

            Projects = msbuildContext
                .Projects
                .Values
                .OrderBy(x => x.AssemblyName)
                .Select(p => {
                    var project = new MSBuildProject(p);
                    if (excludeSourceFiles)
                        project.SourceFiles = null;
                    return project;
                });
        }
 public MSBuildProjectSystem(OmnisharpWorkspace workspace,
                             IOmnisharpEnvironment env,
                             IOptions<OmniSharpOptions> optionsAccessor,
                             ILoggerFactory loggerFactory,
                             IEventEmitter emitter,
                             IMetadataFileReferenceCache metadataReferenceCache,
                             IFileSystemWatcher watcher,
                             MSBuildContext context)
 {
     _workspace = workspace;
     _metadataReferenceCache = metadataReferenceCache;
     _watcher = watcher;
     _env = env;
     _options = optionsAccessor.Options.MsBuild;
     _logger = loggerFactory.CreateLogger<MSBuildProjectSystem>();
     _emitter = emitter;
     _context = context;
 }
 public MSBuildProjectSystem(OmnisharpWorkspace workspace,
                             IOmnisharpEnvironment env,
                             IOptions <OmniSharpOptions> optionsAccessor,
                             ILoggerFactory loggerFactory,
                             IEventEmitter emitter,
                             IMetadataFileReferenceCache metadataReferenceCache,
                             IFileSystemWatcher watcher,
                             MSBuildContext context)
 {
     _workspace = workspace;
     _metadataReferenceCache = metadataReferenceCache;
     _watcher = watcher;
     _env     = env;
     _options = optionsAccessor.Options.MsBuild;
     _logger  = loggerFactory.CreateLogger <MSBuildProjectSystem>();
     _emitter = emitter;
     _context = context;
 }
 public ProjectSystemController(AspNet5Context aspnet5Context, MSBuildContext msbuildContext, OmnisharpWorkspace workspace)
 {
     _aspnet5Context = aspnet5Context;
     _msbuildContext = msbuildContext;
     _workspace = workspace;
 }
        public MsBuildWorkspaceInformation(MSBuildContext msbuildContext)
        {
            SolutionPath = msbuildContext.SolutionPath;

            Projects = msbuildContext.Projects.Values.Select(p => new MSBuildProject(p));
        }