Microsoft.VisualStudio.R.Package.ProjectSystem.RProjectLoadHooks.RProjectLoadHooks C# (CSharp) Method

RProjectLoadHooks() private method

private RProjectLoadHooks ( UnconfiguredProject unconfiguredProject, [ cpsIVsProjects, IProjectLockService projectLockService, IRInteractiveWorkflowProvider workflowProvider, IInteractiveWindowComponentContainerFactory componentContainerFactory, IRToolsSettings toolsSettings, Microsoft.VisualStudio.ProjectSystem.IThreadHandling threadHandling, ISurveyNewsService surveyNews, [ AllowDefault = true)]IProjectItemDependencyProviderdependencyProvider, ICoreShell coreShell ) : System
unconfiguredProject UnconfiguredProject
cpsIVsProjects [
projectLockService IProjectLockService
workflowProvider IRInteractiveWorkflowProvider
componentContainerFactory IInteractiveWindowComponentContainerFactory
toolsSettings IRToolsSettings
threadHandling Microsoft.VisualStudio.ProjectSystem.IThreadHandling
surveyNews ISurveyNewsService
AllowDefault [
coreShell ICoreShell
return System
        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);
        }