public WindowModel(UnconfiguredProject project, IEnumerable<IDeployTargetUI> targetUIs, IProjectLockService lockService, IThreadHandling threadHandling) { this.project = project; this.threadHandling = threadHandling; this.lockService = lockService; TargetUIs = targetUIs; }
public RProjectLoadHooks(UnconfiguredProject unconfiguredProject , [ImportMany("Microsoft.VisualStudio.ProjectSystem.Microsoft.VisualStudio.Shell.Interop.IVsProject")] IEnumerable<Lazy<IVsProject>> cpsIVsProjects , IProjectLockService projectLockService , IRInteractiveWorkflowProvider workflowProvider , IInteractiveWindowComponentContainerFactory componentContainerFactory , IRToolsSettings toolsSettings , IThreadHandling threadHandling , ISurveyNewsService surveyNews , [Import(AllowDefault = true)] IProjectItemDependencyProvider dependencyProvider , ICoreShell coreShell) { _unconfiguredProject = unconfiguredProject; _cpsIVsProjects = cpsIVsProjects; _projectLockService = projectLockService; _workflowProvider = workflowProvider; _toolsSettings = toolsSettings; _threadHandling = threadHandling; _surveyNews = surveyNews; _dependencyProvider = dependencyProvider; _coreShell = coreShell; _projectDirectory = unconfiguredProject.GetProjectDirectory(); unconfiguredProject.ProjectRenamedOnWriter += ProjectRenamedOnWriter; unconfiguredProject.ProjectUnloading += ProjectUnloading; _fileWatcher = new MsBuildFileSystemWatcher(_projectDirectory, "*", 25, 1000, _coreShell.Services.FileSystem, new RMsBuildFileSystemFilter(), coreShell.Services.Log); _fileWatcher.Error += FileWatcherError; Project = new FileSystemMirroringProject(unconfiguredProject, projectLockService, _fileWatcher, _dependencyProvider, coreShell.Services.Log); }
public GitHubDeploy(IUserSettings settings, UnconfiguredProject project, IProjectLockService projectLockService, IThreadHandling threadHandler) { this.project = project; this.projectLockService = projectLockService; this.threadHandler = threadHandler; this.settings = settings; }
private CommandGroupHandler(UnconfiguredProject project, IThreadHandling threadHandler, IProjectLockService lockService, [ImportMany] IEnumerable<IDeployTargetUI> targetUIs, [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider) { this.threadHandler = threadHandler; threadHandler.VerifyOnUIThread(); this.project = project; uiShell = (IVsUIShell)serviceProvider.GetService(typeof(IVsUIShell)); docTable = (IVsRunningDocumentTable)serviceProvider.GetService(typeof(IVsRunningDocumentTable)); ProjectHierarchies = new OrderPrecedenceImportCollection<IVsHierarchy>(projectCapabilityCheckProvider: project); this.lockService = lockService; this.targetUIs = targetUIs; }
public RProjectLoadHooks(UnconfiguredProject unconfiguredProject, IProjectLockService projectLockService, IRInteractiveWorkflowProvider workflowProvider, IInteractiveWindowComponentContainerFactory componentContainerFactory, IRToolsSettings toolsSettings, IFileSystem fileSystem, IThreadHandling threadHandling) { _unconfiguredProject = unconfiguredProject; _workflowProvider = workflowProvider; _componentContainerFactory = componentContainerFactory; _toolsSettings = toolsSettings; _fileSystem = fileSystem; _threadHandling = threadHandling; _projectDirectory = unconfiguredProject.GetProjectDirectory(); unconfiguredProject.ProjectUnloading += ProjectUnloading; _fileWatcher = new MsBuildFileSystemWatcher(_projectDirectory, "*", 25, fileSystem, new RMsBuildFileSystemFilter()); Project = new FileSystemMirroringProject(unconfiguredProject, projectLockService, _fileWatcher); }
public FileSystemMirroringProject(UnconfiguredProject unconfiguredProject, IProjectLockService projectLockService, MsBuildFileSystemWatcher fileSystemWatcher, IActionLog log = null) { _unconfiguredProject = unconfiguredProject; _projectLockService = projectLockService; _fileSystemWatcher = fileSystemWatcher; _log = log ?? ProjectSystemActionLog.Default; _unloadCancellationToken = _unconfiguredProject.Services.ProjectAsynchronousTasks.UnloadCancellationToken; _projectDirectory = _unconfiguredProject.GetProjectDirectory(); _inMemoryImportFullPath = _unconfiguredProject.GetInMemoryTargetsFileFullPath(); _fileItems = new Dictionary<string, ProjectItemElement>(StringComparer.OrdinalIgnoreCase); _directoryItems = new Dictionary<string, ProjectItemElement>(StringComparer.OrdinalIgnoreCase); var changesHandler = new Func<MsBuildFileSystemWatcher.Changeset, Task>(FileSystemChanged); _fileSystemWatcher.SourceBlock.LinkTo(new ActionBlock<MsBuildFileSystemWatcher.Changeset>(changesHandler)); }
public RProjectSourceItemProviderExtension(UnconfiguredProject unconfiguredProject, ConfiguredProject configuredProject, IProjectLockService projectLockService, IFileSystemMirroringProjectTemporaryItems temporaryItems) : base(unconfiguredProject, configuredProject, projectLockService, temporaryItems) { }
public ProjectAccessor(IProjectLockService projectLockService) { _projectLockService = projectLockService; }
public ClassName(IProjectThreadingService threadingService, UnconfiguredProject unconfiguredProject, IProjectLockService projectLockService, IProjectAsynchronousTasksService taskService, IProjectItemProvider projectItemProvider) { _threadingService = threadingService; _unconfiguredProject = unconfiguredProject; _projectLockService = projectLockService; _taskService = taskService; _projectItemProvider = projectItemProvider; }
protected FileSystemMirroringProjectSourceItemProviderExtensionBase(UnconfiguredProject unconfiguredProject, ConfiguredProject configuredProject, IProjectLockService projectLockService, IFileSystemMirroringProjectTemporaryItems temporaryItems) { _unconfiguredProject = unconfiguredProject; _configuredProject = configuredProject; _projectLockService = projectLockService; _temporaryItems = temporaryItems; }
public ProjectReadAccessor(IProjectLockService lockService, ConfiguredProject configuredProject) { ProjectLockService = lockService; ConfiguredProject = configuredProject; }
public TargetFrameworkProjectConfigurationDimensionProvider(IProjectLockService projectLockService) { Requires.NotNull(projectLockService, nameof(projectLockService)); _projectLockService = projectLockService; }
public WindowModel(UnconfiguredProject project, IEnumerable <IDeployTargetUI> targetUIs, IProjectLockService lockService, IThreadHandling threadHandling) { this.project = project; this.threadHandling = threadHandling; this.lockService = lockService; TargetUIs = targetUIs; }