public ProjectLaunchTargetsProvider(
            IUnconfiguredProjectVsServices unconfiguredProjectVsServices,
            ConfiguredProject project,
            IDebugTokenReplacer tokenReplacer,
            IFileSystem fileSystem,
            IEnvironmentHelper environment,
            IActiveDebugFrameworkServices activeDebugFramework,
            ProjectProperties properties,
            IProjectThreadingService threadingService,
            IVsUIService <SVsShellDebugger, IVsDebugger10> debugger,
            IRemoteDebuggerAuthenticationService remoteDebuggerAuthenticationService,
            Lazy <IProjectHotReloadSessionManager> hotReloadSessionManager,
            Lazy <IHotReloadOptionService> debuggerSettings)
        {
            _project = project;
            _unconfiguredProjectVsServices = unconfiguredProjectVsServices;
            _tokenReplacer        = tokenReplacer;
            _fileSystem           = fileSystem;
            _environment          = environment;
            _activeDebugFramework = activeDebugFramework;
            _threadingService     = threadingService;
            _debugger             = debugger;
            _remoteDebuggerAuthenticationService = remoteDebuggerAuthenticationService;
            _hotReloadSessionManager             = hotReloadSessionManager;
            _debuggerSettings = debuggerSettings;

            _outputTypeChecker = new OutputTypeChecker(properties);
        }
 public ConsoleDebugTargetsProvider(ConfiguredProject configuredProject,
                                    IDebugTokenReplacer tokenReplacer,
                                    IFileSystem fileSystem,
                                    IEnvironmentHelper environment,
                                    ProjectProperties properties)
 {
     ConfiguredProject = configuredProject;
     TokenReplacer     = tokenReplacer;
     TheFileSystem     = fileSystem;
     TheEnvironment    = environment;
     Properties        = properties;
 }
Beispiel #3
0
 public ConsoleDebugTargetsProvider(ConfiguredProject configuredProject,
                                    IDebugTokenReplacer tokenReplacer,
                                    IFileSystem fileSystem,
                                    IEnvironmentHelper environment,
                                    IActiveDebugFrameworkServices activeDebugFramework,
                                    ProjectProperties properties)
 {
     TokenReplacer        = tokenReplacer;
     TheFileSystem        = fileSystem;
     TheEnvironment       = environment;
     ActiveDebugFramework = activeDebugFramework;
     Properties           = properties;
     UnconfiguredProject  = configuredProject.UnconfiguredProject;
 }
Beispiel #4
0
 public ConsoleDebugTargetsProvider(UnconfiguredProject project,
                                    IDebugTokenReplacer tokenReplacer,
                                    IFileSystem fileSystem,
                                    IEnvironmentHelper environment,
                                    IActiveDebugFrameworkServices activeDebugFramework,
                                    ProjectProperties properties)
 {
     _tokenReplacer        = tokenReplacer;
     _fileSystem           = fileSystem;
     _environment          = environment;
     _activeDebugFramework = activeDebugFramework;
     _properties           = properties;
     _project = project;
 }
 public ConsoleDebugTargetsProvider(UnconfiguredProject project,
                                    IDebugTokenReplacer tokenReplacer,
                                    IFileSystem fileSystem,
                                    IEnvironmentHelper environment,
                                    IActiveDebugFrameworkServices activeDebugFramework,
                                    ProjectProperties properties,
                                    IProjectThreadingService threadingService,
                                    IVsUIService <SVsShellDebugger, IVsDebugger10> debugger)
 {
     _tokenReplacer        = tokenReplacer;
     _fileSystem           = fileSystem;
     _environment          = environment;
     _activeDebugFramework = activeDebugFramework;
     _properties           = properties;
     _threadingService     = threadingService;
     _debugger             = debugger;
     _project = project;
 }
        private ConsoleDebugTargetsProvider CreateInstance(UnconfiguredProject project         = null,
                                                           ConfiguredProject configuredProject = null,
                                                           IDebugTokenReplacer tokenReplacer   = null,
                                                           IFileSystem fileSystem         = null,
                                                           IEnvironmentHelper environment = null,
                                                           IActiveDebugFrameworkServices activeDebugFramework = null,
                                                           ProjectProperties properties = null,
                                                           IProjectThreadingService threadingService = null,
                                                           IVsDebugger10 debugger = null)
        {
            environment ??= Mock.Of <IEnvironmentHelper>();
            tokenReplacer ??= IDebugTokenReplacerFactory.Create();
            activeDebugFramework ??= IActiveDebugFrameworkServicesFactory.ImplementGetConfiguredProjectForActiveFrameworkAsync(configuredProject);
            threadingService ??= IProjectThreadingServiceFactory.Create();
            debugger ??= IVsDebugger10Factory.ImplementIsIntegratedConsoleEnabled(enabled: false);


            return(new ConsoleDebugTargetsProvider(project, tokenReplacer, fileSystem, environment, activeDebugFramework, properties, threadingService, IVsUIServiceFactory.Create <SVsShellDebugger, IVsDebugger10>(debugger)));
        }
Beispiel #7
0
 public ProjectLaunchTargetsProvider(
     IUnconfiguredProjectVsServices unconfiguredProjectVsServices,
     ConfiguredProject project,
     IDebugTokenReplacer tokenReplacer,
     IFileSystem fileSystem,
     IEnvironmentHelper environment,
     IActiveDebugFrameworkServices activeDebugFramework,
     ProjectProperties properties,
     IProjectThreadingService threadingService,
     IVsUIService <SVsShellDebugger, IVsDebugger10> debugger,
     IRemoteDebuggerAuthenticationService remoteDebuggerAuthenticationService)
 {
     _project = project;
     _unconfiguredProjectVsServices = unconfiguredProjectVsServices;
     _tokenReplacer        = tokenReplacer;
     _fileSystem           = fileSystem;
     _environment          = environment;
     _activeDebugFramework = activeDebugFramework;
     _properties           = properties;
     _threadingService     = threadingService;
     _debugger             = debugger;
     _remoteDebuggerAuthenticationService = remoteDebuggerAuthenticationService;
 }
Beispiel #8
0
 public LaunchSettingsManager(UnconfiguredProject owningProject, IDebugTokenReplacer tokenReplacer)
 {
     _owningProject = owningProject;
     _tokenReplacer = tokenReplacer;
 }